setTokenWidth

From RPTools Wiki
Revision as of 22:59, 16 July 2016 by Wolph42 (talk | contribs) (Created page with "{{MacroFunction |name=setTokenWidth |proposed=false |trusted=false |version=1.3b91 |description= This function set the token's image width in pixels (boundary size). |usage=...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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