setTokenHeight: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 14: Line 14:
'''Parameters'''
'''Parameters'''
{{param|size|grid size of the token}}
{{param|size|grid size of the token}}
{{param|id|The token {{code|id}} of the token to set its height.  Defaults to the [[Current token]].}}{{TrustedParameter}}
{{param|id|The token {{code|id}} of the token to set its height.  Defaults to the [[Current Token]].}}{{TrustedParameter}}


|example=
|example=

Revision as of 04:52, 7 March 2019

setTokenHeight() Function

Introduced in version 1.3b91
Sets the token's image height in pixels (boundary size).

Usage

setTokenHeight(size, id)

Parameters

  • size - grid size of the token
  • id - The token id of the token to set its height. Defaults to the Current Token.

     Note: This parameter can only be used in a Trusted Macro

Example

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

See Also