setTokenWidth

From RPTools Wiki
Revision as of 22:59, 16 July 2016 by Wolph42 (talk | contribs)
Jump to navigation Jump to search

setTokenWidth() Function

Introduced in version 1.3b91
This function set the token's image width in pixels (boundary size).

Usage

setTokenWidth(size, id)

Parameters

  • size - grid size of the token
  • id - The token id of the token to set its width

Example

[r: setTokenWidth(300, "Dragon")]
[r: setTokenHeight(150, "Dragon")]

See Also