Using cursor to place tiles

im trying to make a game where you can use the player as a cursor to then press A to place a tile at the players location but i cant get anything to work. can someone help me?

This code should work:

on confirm do
tell event.px,event.py to
play "PutYourTileNameHere"
end
end
1 Like