ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client functions
  3. createColCube

Function

createColCube

ClientCollision shapesTrilogy Hub only

Creates a client cube zone centred at (x, y, z) with the given side length.

Syntax

colshape createColCube(float x, float y, float z, float size)

Arguments

xfloat
Centre X.
yfloat
Centre Y.
zfloat
Centre Z.
sizefloat
Side length.

Returns

The new zone.

Example

local box = createColCube(0, 0, 5, 4)

See also