I want to trigger a common event when you click on the player character in RMMV.
Any thoughts on the most efficient way to do this?
Any thoughts on the most efficient way to do this?
Math.floor(TouchInput._x/48) === Math.floor($gamePlayer.screenX()/48) && Math.floor(TouchInput._y/48) === Math.floor($gamePlayer.screenY()/48)
TouchInput.clear()
Input.isPressed('ok')
Original thread: https://forums.rpgmakerweb.com/threads/trigger-common-event-by-clicking-on-player.85283/