You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm making a mod that shrinks the borders of the map over time. To do this, I use wzapi call getScrollLimits(). This function should return an object containing x1, y1, x2, and y2.
x2 and y2 are populated with the correct values, but x1 and x2 are undefined.
Heh, I remember this tripping me up the first time I used this. It uses .x and .y for the first coordinate set. Probably should update the getScrollLimits() documentation too.
I'm making a mod that shrinks the borders of the map over time. To do this, I use wzapi call
getScrollLimits()
. This function should return an object containingx1
,y1
,x2
, andy2
.x2
andy2
are populated with the correct values, butx1
andx2
areundefined
.test code:
4.5.5
The text was updated successfully, but these errors were encountered: