View Full Version : FGU: Capture movement events on maps (arrow keys)
celestian
October 30th, 2020, 07:37
Is there a means to capture the event of movement with arrow keys? I've a need to capture (and do something) whenever a arrow key is pressed to move a token. Also possibly the same thing for when a locked token's movement is accepted (and it slides around the map).
Not really looking for when a token is clicked and dragged but specifically for arrow key movement and token (locked) accepted movement.
Moon Wizard
October 30th, 2020, 17:23
There's nothing like that. There is only the tokeninstance.onMove event that should be triggered when a token moves.
Regards,
JPG
celestian
October 30th, 2020, 18:40
There's nothing like that. There is only the tokeninstance.onMove event that should be triggered when a token moves.
I figured as much. Would be nice to have, at the very least something we can hook into when a locked move is accepted.... tho both would be brilliant ;)
Moon Wizard
October 30th, 2020, 19:00
The onMove event is essentially the same thing; except that it triggers on drag moves as well.
JPG
Powered by vBulletin® Version 4.2.1 Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.