How to make Sprite not pass over the edges of canvas

When dragging (strong) the sprite and then releasing it, the sprite will pass over the edges of the state

Thanks for the link @hoanggwtfx, is this while live testing or installing?

What sort of game are you trying to create and will this behaviour stop you from working on your app?

Thanks,
Domhnall

I’m in the process of making a drag and drop game on thunkable, but I don’t know how I can drag and drop objects. I used sprite in a canvas, but the sprite is easy to lose control and easily pass over the canvas when you pull hard.