Platform Builder Forums

Main => Suggestions => Topic started by: CGM on May 31, 2019, 01:16:23 AM

Title: Or for conditionals
Post by: CGM on May 31, 2019, 01:16:23 AM
What about an or command for conditionals? Like, if key=right or key=up or key=...You get the idea.
Title: Re: Or for conditionals
Post by: Antikore on May 31, 2019, 06:17:35 AM
What about an or command for conditionals? Like, if key=right or key=up or key=...You get the idea.
This can be done, just put:
Code: [Select]
if key =  right | key = up
Title: Re: Or for conditionals
Post by: CGM on May 31, 2019, 04:11:30 PM
Thanks for the info Antikore! Wish I had known that... Must have overlooked it.