Starfinder Playlist
  1. #1
    GKEnialb's Avatar
    Join Date
    Jul 2017
    Location
    Castle Rock, CO
    Posts
    523

    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.

  2. #2
    There is no API to do that.

    Regards,
    JPG

  3. #3
    GKEnialb's Avatar
    Join Date
    Jul 2017
    Location
    Castle Rock, CO
    Posts
    523
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
5E Character Create Playlist

Log in

Log in