Player::isJumping: Difference between revisions
(Created page with "This property returns true or false of player jumping state. == Example == <source lang="javascript"> let playerIsJumping = player.isJumping if (playerIsJumping) player.outp...") |
No edit summary |
||
| Line 1: | Line 1: | ||
This property returns true or false of player jumping state. | This property returns true or false of player jumping state. | ||
'''Note: this property is read-only.''' | |||
== Example == | == Example == | ||
<source lang="javascript"> | <source lang="javascript"> | ||
Revision as of 19:25, 4 January 2017
This property returns true or false of player jumping state.
Note: this property is read-only.
Example
let playerIsJumping = player.isJumping
if (playerIsJumping)
player.outputChatBox('You are jumping right now!');
else
player.outputChatBox('You are not jumping right now!');