Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

[Doc Fix] graphic.left & graphic.top

I propose an update/fix/enhancement to the documentation for the Graphic object. Specifically for the top and left properties. Currently, there is no explanation. I had assumed that the values returned would be the coordinates for the top, and the left edges of the graphic, respectively. I was wrong. The values you receive are actually the distances from the top and left edges of the map to the center of the graphic. There's really not much difference between the two ways of measuring - until using tokens of different sizes. Now, either way is a perfectly acceptable way of providing the information, and there is no right or wrong way. I just guessed wrong. If the documentation were updated to reflect this, others will not need to invest time to figure this out on their own.
Did I seriously just modify the documentation myself by simply clicking [Edit] on the page?!? That seems ludicrously and absurdly dangerous!
Haha, you did indeed. It's a wiki :-)
1384908937

Edited 1384908960
Lithl
Pro
Sheet Author
API Scripter
<a href="https://app.roll20.net/forum/post/377021/lets-make-the-wiki-better#post-377021" rel="nofollow">https://app.roll20.net/forum/post/377021/lets-make-the-wiki-better#post-377021</a> =)