While Left Key Down/While Key Down
- Last UpdatedFeb 02, 2021
- 1 minute read
The following elements can be specified for an WhileLeftDown or WhileKeyDown animation link.
|
Elements |
Description |
|---|---|
|
Text |
Script text. Required. |
|
Frequency |
Script execution frequency in milliseconds. Range from 1 to 360000. Required if optional schema is used. Default is 1000. |
Do not use WhileLeftDown and WhileKeyDown animation links in the same object.
Example:
<WhileLeftDown>
<Text>
<![CDATA[
First line of script text
Second line of script text
N-th line of script text
]]>
</Text>
<Frequency>1000</Frequency>
</WhileLeftDown>