Character.getCanSwim
Returns whether the character will float or sink in liquid.
Kind: Function
Environments: Game
Game
character:getCanSwim( )
Parameters:
| Name | Type | Description |
|---|---|---|
character |
Character | The character. |
Returns:
| Type | Description |
|---|---|
| boolean | True if the character will float, false if the character will sink. |