Ifhitspace
ifhitspace {...}
Checks to see if the player has pressed the open button (space by default).
Example:
// This will cause a sprite to fall when "open" button is pressed. actor FALLING_APPLE ifhitspace { fall } enda
ifhitspace {...}
Checks to see if the player has pressed the open button (space by default).
Example:
// This will cause a sprite to fall when "open" button is pressed. actor FALLING_APPLE ifhitspace { fall } enda