so im try to make a game with the move to behavior and made some code that made it when you click somewhere the character goes there, i added collisions to another sprite so it wouldnt go out of it but then, when i click out of the other sprite and the player moves the it, it just gets stuck
Develop games in your browser. Powerful, performant & highly capable.
One of the ways I used to fix this in the past is by assigning the platform behavior to the character sprite. Disable all the controls and then you just get the solid collision detection. It prevented this type of bug.
thanks man! it works now :>