setTokenHeight: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{MacroFunction |name=setTokenHeight |proposed=false |trusted=false |version=1.3b91 |description= This function set the token's image Height in pixels (boundary size). |usage...") |
mNo edit summary |
||
Line 5: | Line 5: | ||
|version=1.3b91 | |version=1.3b91 | ||
|description= | |description= | ||
Sets the token's image height in pixels (boundary size). | |||
|usage= | |usage= | ||
Line 14: | Line 14: | ||
'''Parameters''' | '''Parameters''' | ||
{{param|size|grid size of the token}} | {{param|size|grid size of the token}} | ||
{{param|id|The token id of the token to set its height}} | {{param|id|The token {{code|id}} of the token to set its height.}}{{TrustedParameter}} | ||
|example= | |example= | ||
Line 21: | Line 21: | ||
[r: setTokenHeight(150, "Dragon")] | [r: setTokenHeight(150, "Dragon")] | ||
</source> | </source> | ||
|also= | |also= | ||
{{func|setTokenWidth}}, | {{func|setTokenWidth}}, {{func|getTokenHeight}}, {{func|getTokenWidth}} | ||
{{func|getTokenHeight}}, | |||
{{func|getTokenWidth}} | |||
}} | }} | ||
[[Category:Token Function]] | [[Category:Token Function]] |
Revision as of 04:49, 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 tokenid
- The tokenid
of the token to set its height.Note: This parameter can only be used in a Trusted Macro.
Example
[r: setTokenHeight(300, "Dragon")]
[r: setTokenHeight(150, "Dragon")]