Oh I would have never guessed, thanks alot.
Just making sure, but, you do know that there's a help file, right? You can use that to look up any function you aren't familiar with. Get to the help file through Help > Open Manual. (It's also online at
https://docs2.yoyogames.com/ ... I think the online version might be a little more up to date.)
Anyway, I don't believe that Drag and Drop has an
and statement or a
floor() function. For that stuff, you'd just type it all into the 'if variable' action, and use true as the value. I think.
Another way to get the same result is to use a nested
if statement.
However, the nested
if statement and the
and statement are
not interchangeable. In this simple example they are (both will get the same result), but generally speaking they aren't. Because as soon as you add an
else statement, the nested
if statement no longer behaves as an
and statement.