setTokenWidth: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(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=...")
 
No edit summary
Line 24: Line 24:


|also=
|also=
{{func|setTokenHeight}}
{{func|setTokenHeight}},
{{func|getTokenHeight}}
{{func|getTokenHeight}},
{{func|getTokenWidth}}
{{func|getTokenWidth}}
}}
}}
[[Category:Token Function]]
[[Category:Token Function]]

Revision as of 22:59, 16 July 2016

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