Hi, I've been trying to create a sliding puzzle using picture movements and storing them in variables like this:
A variable stores the position of the invisible square, and if you click right/left/etc... the pictures move and the variables of the rest of the pictures are modified.
Thank you for your time.
A variable stores the position of the invisible square, and if you click right/left/etc... the pictures move and the variables of the rest of the pictures are modified.
- The problem I have is that when I click, for example, the left button and the right button at the same time, or I hold one while clicking the other, both actions happen at the same time and the puzzle glitches or moves 2 pictures at the same time. Is there any way to disable the other movement keys when clicking one of them? Like: If *left* button is pressed down, disable *right, up & down* until the variables are modified and then activate them again. Or if anyone has an idea that could help I'd gladly accept suggestions
Thank you for your time.





