-
September 8th, 2022, 00:59 #1
Determining token from coordinates
Is there a way to directly determine which token(s) encompass a particular x,y position (anywhere on the token, not just the center)? Currently I loop through all tokens, get their center positions and size, and do the math to determine if it contains the coordinate, but was wondering if there was a more efficient way.
-
September 8th, 2022, 03:58 #2
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,557
There is no API to do that.
Regards,
JPG
-
September 9th, 2022, 01:11 #3
No worries - I can keep my logic the same. Thanks for the quick response.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks