goto: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Conversion script moved page goto to Goto without leaving a redirect: Converting page title to first-letter uppercase)
m (Conversion script moved page Goto to goto: Converting page titles to lowercase)
(No difference)

Revision as of 23:12, 9 February 2023

 This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.

goto() Function

Introduced in version 1.3b51
Centers the map on a token, or on a specified grid cell.

Usage

goto(token)
goto(x, y)

Parameters

  • token - The id of the token to center the map to.
  • x - The X coordinate of the grid cell to center the map to.
  • y - The Y coordinate of the grid cell to center the map to.


See Also