Water event
This page goes over the onWater event.
This event will be called upon the game checking if you're in water. Handler name is onWater.
setWater(water): Undefined
setWater(water): UndefinedArgument
Type
Description
water
Boolean
Whether to apply water logic or not.
Sets the event water state.
isWater(): Boolean
isWater(): BooleanReturns whether the water state is set to true.
Last updated