PcoWSkbVqDnWTu_dm2ix
The Developer Hub is now deprecated and information on this page may no longer be accurate. To see our new and improved documentation, please click here. You can read more about the future of documentation here.
Collapse Sidebar

SetWaterCell

Sets the specified terrain voxel’s material to ‘‘Water’’ and sets its occupancy to 1. WaterDirection and WaterForce no longer have any effect.

Note: This API was intended for Roblox’s old terrain system, which has since been removed from the engine.

Parameters

Name Type Default Description

x

int

y

int

z

int

Returns

Return Type Summary