Function to access Map Properties of current map

Talk about whatever topic you'd like, RPG related or not. (But please discuss things related to our software in the Tools section, below.)

Moderators: dorpond, trevor, Azhrei

Post Reply
wisewolf
Cave Troll
Posts: 79
Joined: Tue Aug 06, 2019 10:50 am

Function to access Map Properties of current map

Post by wisewolf »

I am trying to find a function to access Map Properties of current map, exactly the Pixels per Cell property, so I can use setTokenHeight and setTokenWidth proportional to the square of the current map.

Is there a way to do it?

User avatar
Full Bleed
Demigod
Posts: 4736
Joined: Sun Feb 25, 2007 11:53 am
Location: FL

Re: Function to access Map Properties of current map

Post by Full Bleed »

wisewolf wrote:
Thu Oct 10, 2019 11:13 am
I am trying to find a function to access Map Properties of current map, exactly the Pixels per Cell property, so I can use setTokenHeight and setTokenWidth proportional to the square of the current map.

Is there a way to do it?
Wiki: getInfo()
Maptool is the Millennium Falcon of VTT's -- "She may not look like much, but she's got it where it counts."

wisewolf
Cave Troll
Posts: 79
Joined: Tue Aug 06, 2019 10:50 am

Re: Function to access Map Properties of current map

Post by wisewolf »

Thanks! :D

Post Reply

Return to “General Discussion”