Skip to main content

⚡Actions

This section lists all available Actions in MakeIt3D. Use these in Construct 3 Event Sheets to create and control 3D elements.

Initialization

🌍

Create Scene

scene

Initialize a new 3D scene with optional helpers and controls.

Parameters

layerIndex
Index or name of layer where scene is created.
addRoomLighting
Add basic ambient lighting to the scene.
enablePostProcessing
Enable visual effects like bloom or depth of field.
addAxisHelper
Show XYZ axis helper for orientation.
addGridHelper
Add a ground grid to help with scale and positioning.
enableOrbitControls
Enable camera orbit controls with mouse/touch.

Example:

MakeIt3D.CreateScene(0 or Layer name, true, false, true, true, true)
Action
🌍

Load Scene From JSON

scene

Loads json scene saved by three.js editor

Parameters

layerIndex
Index or name of layer where scene is created.
path
path for json (select from dropdown)
useSceneCamera
check this to use camera from json scene
enablePostProcessing
Enable visual effects like bloom or depth of field.
addAxisHelper
Show XYZ axis helper for orientation.
addGridHelper
Add a ground grid to help with scale and positioning.
enableOrbitControls
Enable camera orbit controls with mouse/touch.

Example:

MakeIt3D.CreateScene(0 or Layer name, json path, false, false, true, true, true)
Action
Note

This 3D scene uses Construct's HTML Layer feature to render Three.js. The plugin automatically enables it for the selected layer and disables it on others — no setup needed, just keep it in mind.

🌍

Update RenderLoop

scene

If the automatic render loop update is inconsistent, users can manually update the render loop by calling this function with the delta time on each tick.

Parameters

deltaTime
Delta time from construct3 event sheet

Example:

MakeIt3D.UpdateRenderLoop(dt)
Action

Camera

📷

Adjust Camera Properties

camera

Use this to adjust camera properties such as field of view (FOV) for perspective cameras, or zoom level for orthographic cameras, as well as near and far clip planes.

Parameters

Field Of View / Zoom
For perspective cameras: the field of view angle in degrees. For orthographic cameras: the zoom level (higher = closer view, lower = wider view).
Near Clip
The closest distance at which the camera will render objects.
Far Clip
The farthest distance at which the camera will render objects.

Example:

MakeIt3D.AdjustCamera(75,0.1,2000)
Action
📷

Start Camera Follow Object

camera

Follow the object continuosly with the given placeholder object, maintaining a specified offset and smoothing the movement using a lerp factor. You can stop following by using Stop Camera Following Object Action

Parameters

Placeholder Object
The placeholder of the object to follow.
Offset X
Camera offset along the X-axis.
Offset Y
Camera offset along the Y-axis.
Offset Z
Camera offset along the Z-axis.
Lerp Factor
Smoothing factor for the camera movement. A value between 0 and 1.

Example:

MakeIt3D.FollowObject('hero',5,5,5,0.5)
Action
Camera Tip

Start Camera Follow Object is continuos and set from three.js internally to ensure smooth positioning, so if you want to stop it following object use Stop Camera Follow Object action.

📷

Stop Camera Follow Object

camera

Stop the camera from following any object.

Example:

MakeIt3D.StopFollowObject
Action
📷

Set Camera Type

camera

Switch between perspective and orthographic projection.

Parameters

Camera Type
Select the camera projection type.

Example:

MakeIt3D.SetCameraType("perspective")
Action
📷

Set Camera Position

camera

Position the camera at specific coordinates.

Parameters

Position X
Camera postion x.
Position Y
Camera position y.
Position Z
Camera position z.

Example:

MakeIt3D.SetCameraPosition(0, 5, 10)
Action
📷

Set Camera Rotation

camera

Rotate the camera to a specific orientation (Euler angles).

Parameters

Rotation X
Camera rotation around the X axis (pitch), in degrees.
Rotation Y
Camera rotation around the Y axis (yaw), in degrees.
Rotation Z
Camera rotation around the Z axis (roll), in degrees.

Example:

MakeIt3D.SetCameraRotation(0, 5, 10)
Action
📷

Start Camera Look At Object

camera

Makes the camera to look at the object continously with the given placeholder and smoothing the lookat using a lerp factor.

Parameters

Placeholder Object
The placeholder of the object to lookat.
Offset X
Camera lookat offset along the X-axis.
Offset Y
Camera lookat offset along the Y-axis.
Offset Z
Camera lookat offset along the Z-axis.
Lerp Factor
Smoothing factor for the camera lookat. A value between 0 and 1.

Example:

MakeIt3D.StartCameraLookAtObject('hero',5,5,5,0.5)
Action
Camera Tip

Start Camera LookAt Object is continuos and set from three.js internally to ensure smooth rotation, so if you want to stop it looking at object use Stop Camera LookAt Object action.

📷

Stop Camera LookAt Object

camera

Stop the camera from looking at any object.

Example:

MakeIt3D.StopCameraLookAtObject
Action
📷

Look At Point

camera

Look at the given x, y, z co-ordinates and smoothing the lookat using a lerp factor.

Parameters

Offset X
Camera lookat offset along the X-axis.
Offset Y
Camera lookat offset along the Y-axis.
Offset Z
Camera lookat offset along the Z-axis.
Lerp Factor
Smoothing factor for the camera lookat. A value between 0 and 1.

Example:

MakeIt3D.LookAt(5,5,5,0.5)
Action
📷

Set Orbit Control Properties

camera

Enable/disable orbit controls, set target position, distance limits, angle limits, and damping.

Parameters

Toggle Orbit Controls
Enable or disable camera orbit controls.
Target Position
Position that orbit controls orbit around.
Min Distance
Minimum zoom distance from target.
Max Distance
Maximum zoom distance from target.
Min Polar Angle
Minimum polar angle in degrees.
Max Polar Angle
Maximum polar angle in degrees.
Min Azimuth Angle
Minimum azimuth angle in degrees.
Max Azimuth Angle
Maximum azimuth angle in degrees.
Enable Damping
Enable camera orbit smoothing.
Damping Factor
Smoothing factor for camera orbit (0-1).

Example:

MakeIt3D.SetOrbitControls(true,MakeIt3D.Vector3(0,0,0),10,50,45°,90°,-90°,90°,true,0.1)
Action
📷

Translate Camera

camera

Moves the active camera relative to its current position by the specified amounts along each axis.

Parameters

Offset X
Camera lookat offset along the X-axis.
Offset Y
Camera lookat offset along the Y-axis.
Offset Z
Camera lookat offset along the Z-axis.

Example:

MakeIt3D.TranslateCamera(0,0,1) //translates 1 unit on z axis
Action

3D Objects (MESH)

📦

Create Plane

objects

Creates a plane geometry to the scene with customizable segments.

Parameters

Placeholder Object
The unique placeholder of the object to identify later
Position
Position To Place Object( Use MakeIt3D.Vector3(x,y,z) to input position)
Rotation
Rotation To Rotate Object( Use MakeIt3D.Vector3(x,y,z) to input rotation)
Color
RGB color of the plane (e.g., MakeIt3D(255,0,0) for red)
Scale
Scale Of Object( Use MakeIt3D.Vector3(x,y,z) to input scale)
Height Segments
Number of segments along the height of the plane
Width Segments
Number of segments along the width of the plane
Show Controls
SHow controls to tweak properties

Example:

MakeIt3D.CreatePlane(Plane, MakeIt3D.Vector3(0,0,0), MakeIt3D.Vector3(0,0,0), MakeIt3D.RGB(255,0,0), MakeIt3D.Vector3(1,1,1), 1, 1, true)
Action
Note

This plugin uses the place holder object to hold the object Id (which can be any sprite or dedicated place holder which is also developed along with this addon to improve user experience)

📦

Create Cube

objects

Create a cube object with id at the specified position with optional parameters.

Parameters

Placeholder Object
The placeholder of the object to create.
Position
Position To Place Object( Use MakeIt3D.Vector3(x,y,z) to input position)
Rotation
Rotation To Rotate Object( Use MakeIt3D.Vector3(x,y,z) to input rotation)
Color
RGB color of the plane (e.g., MakeIt3D(255,0,0) for red).
Scale
Scale Of Object( Use MakeIt3D.Vector3(x,y,z) to input scale)
Height Segments
Number of segments along the height of the cube
Width Segments
Number of segments along the width of the cube
Depth Segments
Number of segments along the depth of the cube
Show Controls
Show controls to tweak properties( Appear on top-right corner)

Example:

MakeIt3D.CreateCube(Cube, MakeIt3D.Vector3(0,0,0), MakeIt3D.Vector3(0,0,0), MakeIt3D.RGB(255,0,0), MakeIt3D.Vector3(0,0,0), 1,1,1,true)
Action
📦

Create Cylinder

objects

Creates a cylinder geometry to the scene with customizable radius, height, segments, and angle settings.

Parameters

Placeholder Object
The unique placeholder of the object to identify later
Position
Position to place the object (Use MakeIt3D.Vector3(x,y,z) to input position)
Rotation
Rotation to rotate the object (Use MakeIt3D.Vector3(x,y,z) to input rotation)
Color
RGB color of the cylinder (e.g., MakeIt3D.RGB(255,0,0) for red)
Scale
Scale of the object (Use MakeIt3D.Vector3(x,y,z) to input scale)
Radius Top
Radius of the top circle of the cylinder
Radius Bottom
Radius of the bottom circle of the cylinder
Height
Height of the cylinder
Radial Segments
Number of segmented faces around the circumference of the cylinder
Height Segments
Number of rows of faces along the height of the cylinder
Open Ended
Whether the ends of the cylinder are open or capped
Theta Start
Start angle for the first segment (in radians)
Theta Length
The central angle of the circular sector (in radians)
Show Controls
Show controls to tweak properties

Example:

MakeIt3D.CreateCylinder('cylinder1', MakeIt3D.Vector3(0,0,0), MakeIt3D.Vector3(0,0,0), MakeIt3D.RGB(0,255,0), MakeIt3D.Vector3(1,1,1), 5, 5, 10, 32, 1, false, 0, Math.PI * 2, true)
Action
📦

Create Icosahedron

objects

Creates a 20-sided polyhedron (icosahedron) to the scene.

Parameters

Placeholder Object
The unique placeholder of the object to identify later
Position
Position to place the object (Use MakeIt3D.Vector3(x,y,z) to input position)
Rotation
Rotation to rotate the object (Use MakeIt3D.Vector3(x,y,z) to input rotation)
Color
RGB color of the icosahedron (e.g., MakeIt3D.RGB(255,0,0) for red)
Scale
Scale of the object (Use MakeIt3D.Vector3(x,y,z) to input scale)
Radius
Radius of the icosahedron
Detail
Level of detail (0 for basic icosahedron, higher values add more vertices)
Show Controls
GUI to control properties

Example:

MakeIt3D.CreateIcosahedron('ico1', MakeIt3D.Vector3(0,0,0), MakeIt3D.Vector3(0,0,0), MakeIt3D.RGB(0,0,255), MakeIt3D.Vector3(1,1,1), 5, 0, true)
Action
📦

Create Torus

objects

Creates a torus (donut shape) to the scene.

Parameters

Placeholder Object
The unique placeholder of the object to identify later
Position
Position to place the object (Use MakeIt3D.Vector3(x,y,z) to input position)
Rotation
Rotation to rotate the object (Use MakeIt3D.Vector3(x,y,z) to input rotation)
Color
RGB color of the torus (e.g., MakeIt3D.RGB(255,0,0) for red)
Scale
Scale of the object (Use MakeIt3D.Vector3(x,y,z) to input scale)
Radius
Radius of the torus (distance from center to tube center)
Tube Radius
Radius of the tube (thickness of the donut)
Radial Segments
Number of segments around the tube
Tubular Segments
Number of segments around the torus
Show Controls
GUI to control properties

Example:

MakeIt3D.CreateTorus('torus1', MakeIt3D.Vector3(0,0,0), MakeIt3D.Vector3(0,0,0), MakeIt3D.RGB(255,255,0), MakeIt3D.Vector3(1,1,1), 5, 2, 16, 100, true)
Action
📦

Create Torus Knot

objects

Creates a complex torus knot to the scene.

Parameters

Placeholder Object
The unique placeholder of the object to identify later
Position
Position to place the object (Use MakeIt3D.Vector3(x,y,z) to input position)
Rotation
Rotation to rotate the object (Use MakeIt3D.Vector3(x,y,z) to input rotation)
Color
RGB color of the torus knot (e.g., MakeIt3D.RGB(255,0,0) for red)
Scale
Scale of the object (Use MakeIt3D.Vector3(x,y,z) to input scale)
Radius
Radius of the torus knot
Tube Radius
Radius of the tube
Tubular Segments
Number of segments around the torus
Radial Segments
Number of segments around the tube
P Parameter
Number of times the geometry winds around its axis of rotational symmetry
Q Parameter
Number of times the geometry winds around a circle in the interior of the torus
Show Controls
GUI to control properties

Example:

MakeIt3D.CreateTorusKnot('knot1', MakeIt3D.Vector3(0,0,0), MakeIt3D.Vector3(0,0,0), MakeIt3D.RGB(255,0,255), MakeIt3D.Vector3(1,1,1), 5, 1, 100, 16, 2, 3, true)
Action
📦

Create Cone

objects

Creates a cone geometry to the scene.

Parameters

Placeholder Object
The unique placeholder of the object to identify later
Position
Position to place the object (Use MakeIt3D.Vector3(x,y,z) to input position)
Rotation
Rotation to rotate the object (Use MakeIt3D.Vector3(x,y,z) to input rotation)
Color
RGB color of the cone (e.g., MakeIt3D(255,0,0) for red)
Scale
Scale of object (Use MakeIt3D.Vector3(x,y,z) to input scale)
Radius
Radius of the cone base
Height
Height of the cone
Radial Segments
Number of segments around the cone
Height Segments
Number of segments along the height of the cone
Show Controls
GUI to control properties

Example:

MakeIt3D.CreateCone(Cone, MakeIt3D.Vector3(0,0,0), MakeIt3D.Vector3(0,0,0), MakeIt3D.RGB(255,0,0), MakeIt3D.Vector3(1,1,1), 5, 10, 8, 1, true)
Action
📦

Create Capsule

objects

Creates a capsule (pill shape) geometry to the scene.

Parameters

Placeholder Object
The unique placeholder of the object to identify later
Position
Position to place the object (Use MakeIt3D.Vector3(x,y,z) to input position)
Rotation
Rotation to rotate the object (Use MakeIt3D.Vector3(x,y,z) to input rotation)
Color
RGB color of the capsule (e.g., MakeIt3D(255,0,0) for red)
Scale
Scale of object (Use MakeIt3D.Vector3(x,y,z) to input scale)
Radius
Radius of the capsule
Length
Length of the capsule
Cap Segments
Number of segments in the caps
Radial Segments
Number of segments around the capsule
Show Controls
GUI to control properties

Example:

MakeIt3D.CreateCapsule(Capsule, MakeIt3D.Vector3(0,0,0), MakeIt3D.Vector3(0,0,0), MakeIt3D.RGB(0,255,0), MakeIt3D.Vector3(1,1,1), 2, 5, 8, 16, true)
Action
📦

Create Ring

objects

Creates a flat ring geometry to the scene.

Parameters

Placeholder Object
The unique placeholder of the object to identify later
Position
Position to place the object (Use MakeIt3D.Vector3(x,y,z) to input position)
Rotation
Rotation to rotate the object (Use MakeIt3D.Vector3(x,y,z) to input rotation)
Color
RGB color of the ring (e.g., MakeIt3D(255,0,0) for red)
Scale
Scale of object (Use MakeIt3D.Vector3(x,y,z) to input scale)
Inner Radius
Inner radius of the ring
Outer Radius
Outer radius of the ring
Theta Segments
Number of segments around the ring
Phi Segments
Number of segments from inner to outer radius
Theta Start
Starting angle in radians
Theta Length
Length of the ring arc in radians
Show Controls
GUI to control properties

Example:

MakeIt3D.CreateRing(Ring, MakeIt3D.Vector3(0,0,0), MakeIt3D.Vector3(0,0,0), MakeIt3D.RGB(0,0,255), MakeIt3D.Vector3(1,1,1), 2, 5, 32, 8, 0, Math.PI, true)
Action
📦

Create Circle

objects

Creates a flat circle geometry to the scene.

Parameters

Placeholder Object
The unique placeholder of the object to identify later
Position
Position to place the object (Use MakeIt3D.Vector3(x,y,z) to input position)
Rotation
Rotation to rotate the object (Use MakeIt3D.Vector3(x,y,z) to input rotation)
Color
RGB color of the circle (e.g., MakeIt3D(255,0,0) for red)
Scale
Scale of object (Use MakeIt3D.Vector3(x,y,z) to input scale)
Radius
Radius of the circle
Segments
Number of segments around the circle
Theta Start
Starting angle in radians
Theta Length
Length of the circle arc in radians
Show Controls
GUI to control properties

Example:

MakeIt3D.CreateCircle(Circle, MakeIt3D.Vector3(0,0,0), MakeIt3D.Vector3(0,0,0), MakeIt3D.RGB(255,255,0), MakeIt3D.Vector3(1,1,1), 5, 32, 0, 2*Math.PI, true)
Action
📦

Create Dodecahedron

objects

Creates a 12-sided polyhedron (dodecahedron) to the scene.

Parameters

Placeholder Object
The unique placeholder of the object to identify later
Position
Position to place the object (Use MakeIt3D.Vector3(x,y,z) to input position)
Rotation
Rotation to rotate the object (Use MakeIt3D.Vector3(x,y,z) to input rotation)
Color
RGB color of the dodecahedron (e.g., MakeIt3D(255,0,0) for red)
Scale
Scale of object (Use MakeIt3D.Vector3(x,y,z) to input scale)
Radius
Radius of the dodecahedron
Detail
Level of detail (0 for basic, higher values add more vertices)
Show Controls
GUI to control properties

Example:

MakeIt3D.CreateDodecahedron(Dodecahedron, MakeIt3D.Vector3(0,0,0), MakeIt3D.Vector3(0,0,0), MakeIt3D.RGB(255,0,255), MakeIt3D.Vector3(1,1,1), 5, 0, true)
Action
📦

Create Octahedron

objects

Creates an 8-sided polyhedron (octahedron) to the scene.

Parameters

Placeholder Object
The unique placeholder of the object to identify later
Position
Position to place the object (Use MakeIt3D.Vector3(x,y,z) to input position)
Rotation
Rotation to rotate the object (Use MakeIt3D.Vector3(x,y,z) to input rotation)
Color
RGB color of the octahedron (e.g., MakeIt3D(255,0,0) for red)
Scale
Scale of object (Use MakeIt3D.Vector3(x,y,z) to input scale)
Radius
Radius of the octahedron
Detail
Level of detail (0 for basic, higher values add more vertices)
Show Controls
GUI to control properties

Example:

MakeIt3D.CreateOctahedron(Octahedron, MakeIt3D.Vector3(0,0,0), MakeIt3D.Vector3(0,0,0), MakeIt3D.RGB(0,255,255), MakeIt3D.Vector3(1,1,1), 5, 0, true)
Action
📦

Create Tetrahedron

objects

Creates a 4-sided polyhedron (tetrahedron) to the scene.

Parameters

Placeholder Object
The unique placeholder of the object to identify later
Position
Position to place the object (Use MakeIt3D.Vector3(x,y,z) to input position)
Rotation
Rotation to rotate the object (Use MakeIt3D.Vector3(x,y,z) to input rotation)
Color
RGB color of the tetrahedron (e.g., MakeIt3D(255,0,0) for red)
Scale
Scale of object (Use MakeIt3D.Vector3(x,y,z) to input scale)
Radius
Radius of the tetrahedron
Detail
Level of detail (0 for basic, higher values add more vertices)
Show Controls
GUI to control properties

Example:

MakeIt3D.CreateTetrahedron(Tetrahedron, MakeIt3D.Vector3(0,0,0), MakeIt3D.Vector3(0,0,0), MakeIt3D.RGB(128,0,128), MakeIt3D.Vector3(1,1,1), 5, 0, true)
Action
📦

Load Custom Model

objects

Load a custom 3D model from a given path with position, rotation, scale, and visibility options.

Parameters

Placeholder Object
The unique placeholder of the object to reference it.
Path
Path where model is located
Position
Position to place model (leave 0 to place at origin (0,0,0))
Rotation
Rotation of model in radians (leave 0 to have default rotation)
Scale
Scale of model (leave 1 to have normal scale)
Initially Visible
Sets whether the 3D object is visible on load. Disable to hide it instantly.

Example:

MakeIt3D.LoadModel(MyModel, 'assets/models/myModel.glb', MakeIt3D.Vector3(0,0,0), MakeIt3D.Vector3(0,0,0), MakeIt3D.Vector3(1,1,1), true)
Action
📦

Destroy Object

objects

Remove an object from the scene.

Parameters

Placeholder Object
The unique placeholder of the object to destroy

Example:

MakeIt3D.DestroyObject("cube_1")
Action
⚙️

Set Object Visibility

visibility

Set whether a 3D object is visible or not.

Parameters

Placeholder Object
The placeholder of the object to set visibility
Visible
Whether the object should be visible or not
Visible (Numeric)
Whether the object should be visible (1) or not (0). Default is -1. Note: If set to -1, it will not override the visible checkbox above.

Example:

MakeIt3D.SetObjectVisible('MyCube', true, -1)
Action

Transformations

🔄

Set Object Position

transforms

Set the position of a 3D object in the scene.

Parameters

Placeholder Object
The placeholder of the object to set position
X Position
X coordinate of the position
Y Position
Y coordinate of the position
Z Position
Z coordinate of the position
Lerp Factor
Lerp factor to smoothly interpolate

Example:

MakeIt3D.SetObjectPosition('MyObject', 10, 20, 30, 0.1)
Action
🔄

Set Object Rotation

transforms

Set the rotation of a 3D object in the scene.

Parameters

Placeholder Object
The placeholder of the object to set rotation
X Rotation
X rotation in radians
Y Rotation
Y rotation in radians
Z Rotation
Z rotation in radians
Lerp Factor
Lerp factor to smoothly interpolate

Example:

MakeIt3D.SetObjectRotation('MyObject', 0, Math.PI / 2, 0, 0.2)
Action
🔄

Set Rotation From Normal

transforms

Sets the rotation of a 3D object to align with the given surface normal vector.

Parameters

Placeholder Object
The placeholder of the object to set rotation
Normal X
X component of the surface normal
Normal Y
Y component of the surface normal
Normal Z
Z component of the surface normal
Up Vector
Axis used as 'up' when aligning to surface normals.
Lerp Factor
Lerp factor to smoothly interpolate rotation; set to 1 for instant rotation

Example:

MakeIt3D.SetRotationFromNormal('MyObject', 0, 1, 0, 'y', 0.5)
Action
🔄

Set Object Scale

transforms

Set the scale of a 3D object in the scene.

Parameters

Placeholder Object
The placeholder of the object to set scale
X Scale
X scale factor
Y Scale
Y scale factor
Z Scale
Z scale factor
Lerp Factor
Lerp factor to smoothly interpolate

Example:

MakeIt3D.SetObjectScale('MyObject', 2, 2, 2, 0.3)
Action
🔄

Set Object Position X

transforms

Set the X position of a 3D object in the scene.

Parameters

Placeholder Object
The placeholder of the object to set position
X Position
X coordinate of the position
Lerp Factor
Lerp factor to smoothly interpolate

Example:

MakeIt3D.SetObjectPositionX('MyObject', 10, 0.1)
Action
🔄

Set Object Position Y

transforms

Set the Y position of a 3D object in the scene.

Parameters

Placeholder Object
The placeholder of the object to set position
Y Position
Y coordinate of the position
Lerp Factor
Lerp factor to smoothly interpolate

Example:

MakeIt3D.SetObjectPositionY('MyObject', 5, 0.2)
Action
🔄

Set Object Position Z

transforms

Set the Z position of a 3D object in the scene.

Parameters

Placeholder Object
The placeholder of the object to set position
Z Position
Z coordinate of the position
Lerp Factor
Lerp factor to smoothly interpolate

Example:

MakeIt3D.SetObjectPositionZ('MyObject', -10, 0.2)
Action
🔄

Set Object Rotation X

transforms

Set the X rotation of a 3D object in the scene.

Parameters

Placeholder Object
The placeholder of the object to set rotation
X Rotation
X rotation in radians
Lerp Factor
Lerp factor to smoothly interpolate

Example:

MakeIt3D.SetObjectRotationX('MyObject', Math.PI / 4, 0.2)
Action
🔄

Set Object Rotation Y

transforms

Set the Y rotation of a 3D object in the scene.

Parameters

Placeholder Object
The placeholder of the object to set rotation
Y Rotation
Y rotation in radians
Lerp Factor
Lerp factor to smoothly interpolate

Example:

MakeIt3D.SetObjectRotationY('MyObject', Math.PI / 2, 0.1)
Action
🔄

Set Object Rotation Z

transforms

Set the Z rotation of a 3D object in the scene.

Parameters

Placeholder Object
The placeholder of the object to set rotation
Z Rotation
Z rotation in radians
Lerp Factor
Lerp factor to smoothly interpolate

Example:

MakeIt3D.SetObjectRotationZ('MyObject', Math.PI, 0.3)
Action
🔄

Translate Object

transforms

Translate (move) a 3D object relative to its current position in the scene.

Parameters

Placeholder Object
The placeholder of the object to move
X Offset
Amount to move along the X axis
Y Offset
Amount to move along the Y axis
Z Offset
Amount to move along the Z axis
Lerp Factor
Lerp factor to smoothly interpolate

Example:

MakeIt3D.TranslateObject('MyObject', 5, 0, -3, 0.5)
Action
🔄

Object Look At

transforms

Sets the orientation of a 3D object to look at a specific point in space.

Parameters

Placeholder Object
The placeholder of the object to move
X
x target co-ordinate to look at
Y
y target co-ordinate to look at
Z
z target co-ordinate to look at
Mask Axis
Rotation Mask — (0,1,0): Y-axis only, (1,1,1): unrestricted, (0,0,1): Z-axis only
Slerp Factor
Slerp factor to smoothly interpolate

Example:

MakeIt3D.ObjectLookAt('MyObject', 0, 0, 10, MakeIt3D.Vector3(1, 1, 1), 0.4)
Action

Lights

💡

Create Point Light

lights

Creates a Point Light to the scene.

Parameters

Placeholder Object
Unique ID for the light.
Position
Position to place the light.
Color
Color of the light.
Intensity
Light intensity.
Distance
Distance for attenuation.
Decay
Decay rate.
Show Helper
Show a helper for the light.
Show Controls
GUI to control properties

Example:

MakeIt3D.AddPointLight('PointLight01', MakeIt3D.Vector3(1,2,3), MakeIt3D.Color(255,255,255), 1.0, 100, 2, true, true)
Action
Do NOT Create Lights Every Tick

Creating lights in an Every Tick event will constantly add new lights to the scene, causing severe performance drops and memory issues.
Only create lights once — such as in On Start of Layout or when needed.

💡

Create Directional Light

lights

Creates a Directional Light to the scene.

Parameters

Placeholder Object
Unique placeholder for the light.
Position
Position to place the light.
Target Id
Object placeholder to target.
Target Position
Target position for the light to aim at.
Color
Color of the light.
Intensity
Light intensity.
Cast Shadow
Whether the light casts shadows.
Show Helper
Show a helper for the light.
Show Controls
GUI to control properties

Example:

MakeIt3D.AddDirectionalLight('DirLight01', MakeIt3D.Vector3(0,10,0), 'targetObject', null, MakeIt3D.Color(255,255,200), 1.0, true, true, true)
Action
💡

Create Ambient Light

lights

Creates an Ambient Light to the scene.

Parameters

Placeholder Object
Unique placeholder for the light.
Color
Color of the light.
Intensity
Light intensity.
Show Helper
Show a helper for the light.
Show Controls
GUI to control properties

Example:

MakeIt3D.AddAmbientLight('Ambient01', MakeIt3D.Color(255,255,255), 0.6, false, false)
Action
💡

Create Spot Light

lights

Creates a Spot Light to the scene.

Parameters

Placeholder Object
Unique placeholder for the light.
Position
Position to place the light.
Target Position
Target position for the light to aim at.
Color
Color of the light.
Intensity
Light intensity.
Distance
Distance for attenuation.
Angle
Cone angle in radians.
Penumbra
Penumbra value.
Decay
Decay rate.
Cast Shadow
Whether the light casts shadows.
SpotLight Map
A Texture used to modulate the color of the light('castShadow' must be true).
Show Helper
Show a helper for the light.
Show Controls
GUI to control properties

Example:

MakeIt3D.AddSpotLight('Spot01', MakeIt3D.Vector3(2,5,3), MakeIt3D.Vector3(0,0,0), MakeIt3D.Color(255,200,100), 1, 50, Math.PI / 4, 0.3, 1, true, 'spotMap.jpg', true, true)
Action
💡

Create Hemisphere Light

lights

Creates a Hemisphere Light to the scene.

Parameters

Placeholder Object
Unique placeholder for the light.
Position
Position to place the light.
Sky Color
Sky color of the light.
Ground Color
Ground color of the light.
Intensity
Light intensity.
Show Helper
Show a helper for the light.
Show Controls
GUI to control properties

Example:

MakeIt3D.AddHemisphereLight('Hemi01', MakeIt3D.Vector3(0,20,0), MakeIt3D.Color(150,150,255), MakeIt3D.Color(255,200,150), 0.7, false, true)
Action

Animations

🎬

Play Animation

animation

Play an animation for a 3D model

Parameters

Placeholder Object
The placeholder of the object to animate
Animation Index Or Name
Index or Name of the animation to play (leave empty to use name)
Fade Duration
Time (in seconds) to crossfade between animations. Set 0 for instant switch.
Loop
Whether to loop the animation
Time Scale
Speed multiplier for the animation (1.0 is normal speed)
Clamp When Finished
Whether to hold the last frame when animation finishes

Example:

MakeIt3D.PlayAnimation('model01', 'run', 0.5, true, 1.0, false)
Action
🎬

Blend Animations

animation

Play and blend two animations simultaneously for a 3D model.

Parameters

Placeholder Object
The placeholder of the object to animate
Animation A Index Or Name
Index or name of the first animation
Animation A Weight
Influence weight for Animation A (0.0 to 1.0)
Animation B Index Or Name
Index or name of the second animation
Animation B Weight
Influence weight for Animation B (0.0 to 1.0)
Fade Duration
Time (in seconds) to crossfade into blended state
Loop Animation A
Whether Animation A should loop
Loop Animation B
Whether Animation B should loop
Time Scale
Speed multiplier for both animations
Clamp When Finished
Whether to hold last frame when animations finish

Example:

MakeIt3D.BlendAnimations('model01', 'walk', 0.7, 'wave', 0.3, 0.5, true, false, 1.0, false)
Action
🎬

Transition Animation

animation

Smoothly transition from one animation to another for a 3D model using crossfade.

Parameters

Placeholder Object
The placeholder of the object to animate
From Animation Index Or Name
Index or name of the currently playing animation
To Animation Index Or Name
Index or name of the new animation to transition to
Fade Duration
Time (in seconds) to crossfade between animations
Loop
Whether the new animation should loop
Time Scale
Speed multiplier for the new animation
Clamp When Finished
Whether to hold the last frame when the animation finishes

Example:

MakeIt3D.TransitionAnimation('model01', 'idle', 'run', 0.3, true, 1.0, false)
Action
🎬

Pause Animation

animation

Pause the currently playing animation for a 3D model

Parameters

Placeholder Object
The placeholder of the object to pause animation

Example:

MakeIt3D.PauseAnimation('model01')
Action
🎬

Resume Animation

animation

Resume the paused animation for a 3D model

Parameters

Placeholder Object
The placeholder of the object to resume animation

Example:

MakeIt3D.ResumeAnimation('model01')
Action
🎬

Stop Animation

animation

Stop the currently playing animation for a 3D model

Parameters

Placeholder Object
The placeholder of the object to stop animation

Example:

MakeIt3D.StopAnimation('model01')
Action

Raycast

🎯

Camera To Point Raycast

raycast

Casts the ray from camera to target position.

Parameters

X Coordinate
X target coordinate
Y Coordinate
Y target coordinate
Z Coordinate
Z target coordinate

Example:

MakeIt3D.CameraToPointRaycast(10, 5, 3)
Action
🎯

Camera To Object Raycast

raycast

Casts the ray from camera to object.

Parameters

Target Object
Target Object

Example:

MakeIt3D.CameraToObjectRaycast('object123')
Action
🎯

Camera To Screen Raycast

raycast

Casts the ray from camera to viewport screen coordinates.

Parameters

X Coordinate
X screen coordinate
Y Coordinate
Y screen coordinate
Ray Length
Length of the raycast (default 1000)

Example:

MakeIt3D.CameraToScreenRaycast(0.5, 0.5, 1000)
Action
🎯

Object To Directional Raycast

raycast

Casts the ray using object's specified local axis. Updates with object's position and rotation.

Parameters

Placeholder Object
Object from which raycast is fired
Direction
Ray direction as MakeIt3D.Vector3(x, y, z). Common: forward (0,0,-1), back (0,0,1), up (0,1,0), down (0,-1,0), right (1,0,0), left (-1,0,0).
Ray Length
Length of the raycast (default 1000)
Debug Ray
Draw debug line between origin and direction

Example:

MakeIt3D.ObjectToDirectionalRaycast('obj01', MakeIt3D.Vector3(0, 0, -1), 1000, true)
Action
🎯

Origin To Directional Raycast

raycast

Casts the ray from origin to target direction with specified ray length.

Parameters

Origin
Origin of raycast (MakeIt3D.Vector3)
Direction
Direction of raycast to fire (MakeIt3D.Vector3)
Ray Length
Length of the raycast (default 1000)
Debug Ray
Draw debug line between origin and direction

Example:

MakeIt3D.OriginToDirectionalRaycast(MakeIt3D.Vector3(0,0,0), MakeIt3D.Vector3(1,0,0), 500, true)
Action
🎯

Set Ignore Raycast

raycast

Raycast will ignore objects with these IDs and pass through them without registering intersections.(you can pass multiple object ids using MakeIt3D.ToArray(id1,id2,id3) to ignore raycast for them)

Parameters

Object Ids(single or multiple)
Object Id. For multiple IDs use MakeIt3D.ToArray(...ids)
Ignore Raycast
Check to ignore raycast intersections

Example:

MakeIt3D.SetIgnoreRaycast('obj01', true) or MakeIt3D.SetIgnoreRaycast(MakeIt3D.ToArray(id1,id2,id3), true)
Action

Materials

🎨

Set Standard Material

material

Apply a MeshStandardMaterial to a 3D object. Standard material supports physically-based rendering (PBR) with metalness and roughness for realistic surfaces.

Parameters

Placeholder Object
The placeholder of the object
Color
Material color (hex)
Metalness
Metalness value (0-1)
Roughness
Roughness value (0-1)
Wireframe
Render as wireframe
Emissive
Emissive color
Emissive Intensity
Emissive intensity (default 1)
Opacity
Material opacity (0-1)

Example:

MakeIt3D.SetStandardMaterial('obj01', '#ff0000', 0.5, 0.3, false, '#000000', 1.0, 0.9)
Action
Do NOT Create Materials Every Tick

Creating new materials inside an Every Tick event will rapidly consume memory and degrade performance.
Materials should be created once and reused — ideally during On Start of Layout or when the object is initialized.

🎨

Set Phong Material

material

Apply a MeshPhongMaterial to a 3D object. Good for shiny, glossy surfaces and older-style 3D rendering.

Parameters

Placeholder Object
The placeholder of the object
Color
Material color (hex)
Shininess
Shininess value
Wireframe
Render as wireframe
Opacity
Material opacity (0-1)
Emissive
Emissive color (hex)
Emissive Intensity
Emissive intensity (default 1)
Specular
Specular color (hex)

Example:

MakeIt3D.SetPhongMaterial('obj01', '#ffffff', 30, false, 1, '#111111', 1.0, '#333333')
Action
🎨

Set Lambert Material

material

Apply a MeshLambertMaterial to a 3D object. Good for matte surfaces without specular highlights.

Parameters

Placeholder Object
The placeholder of the object
Color
Material color (hex)
Wireframe
Render as wireframe
Opacity
Material opacity (0-1)
Emissive
Emissive color (hex)
Emissive Intensity
Emissive intensity (default 1)

Example:

MakeIt3D.SetLambertMaterial('obj01', '#999999', false, 1, '#000000', 1.0)
Action
🎨

Set Basic Material

material

Apply a MeshBasicMaterial to a 3D object. Not affected by lights. Useful for unlit or UI elements.

Parameters

Placeholder Object
The placeholder of the object
Color
Material color (hex)
Wireframe
Render as wireframe
Opacity
Material opacity (0-1)

Example:

MakeIt3D.SetBasicMaterial('obj01', '#00ff00', false, 1.0)
Action
🎨

Set Custom Shader Material

material

Apply a custom GLSL shader to a 3D object for advanced visual effects and control.

Parameters

Placeholder Object
The placeholder of the object
Vertex Shader
GLSL code for the vertex shader
Fragment Shader
GLSL code for the fragment shader
Uniforms
Uniforms object (optional)
Transparent
Enable transparency (optional)
Wireframe
Render as wireframe (optional)

Example:

MakeIt3D.SetCustomShaderMaterial('obj01', vertexCode, fragmentCode, { time: 1.0 }, true, false)
Action
🎨

Set Shader Uniform

material

Set a single uniform value on a custom shader material at runtime.

Parameters

Placeholder Object
The placeholder of the object
Uniform Name
The name of the uniform (e.g., 'time')
Value
The value to set for the uniform

Example:

MakeIt3D.SetShaderUniform('obj01', 'time', 2.5)
Action
🎨

Set Texture

material

Set a texture on a 3D object.

Parameters

Placeholder Object
The placeholder of the object
Path
Path to the texture image

Example:

MakeIt3D.SetTexture('obj01', '/textures/wood.jpg')
Action
🎨

Set Texture Wrap

material

Set the wrapping mode for an object's texture.

Parameters

Placeholder Object
The placeholder of the object
Wrap S
Horizontal wrap mode
Wrap T
Vertical wrap mode

Example:

MakeIt3D.SetTextureWrap('obj01', 'repeat', 'clamp')
Action
🎨

Set Texture Repeat

material

Set the repeat values for an object's texture.

Parameters

Placeholder Object
The placeholder of the object
Repeat X
Repeat value in X direction
Repeat Y
Repeat value in Y direction

Example:

MakeIt3D.SetTextureRepeat('obj01', 2, 2)
Action
🎨

Set Texture Opacity

material

Set the opacity of an object's material.

Parameters

Placeholder Object
The placeholder of the object
Opacity
Opacity value (0.0 - 1.0)

Example:

MakeIt3D.SetTextureOpacity('obj01', 0.75)
Action
🎨

Set Emissive Map

material

Set the emissive map (glow) texture for the object's material. Note: only works with basic material.

Parameters

Placeholder Object
The placeholder of the object (Note: set basic material to use emissive map)
Texture URL
URL or path to the emissive texture
Intensity
Emissive intensity

Example:

MakeIt3D.SetEmissiveMap('obj01', '/textures/glow.png', 1.2)
Action
🎨

Set Normal Map

material

Set the normal map texture for the object's material.

Parameters

Placeholder Object
The placeholder of the object
Texture URL
URL or path to the normal map texture
Invert Normal Map
Invert the normal map
Normal Map Strength
Strength (bumpiness) of the normal map

Example:

MakeIt3D.SetNormalMap('obj01', '/textures/bump.jpg', true, 0.8)
Action
🎨

Set Roughness Map

material

Set the roughness map texture for the object's material.

Parameters

Placeholder Object
The placeholder of the object
Texture URL
URL or path to the roughness map texture

Example:

MakeIt3D.SetRoughnessMap('obj01', '/textures/roughness.png')
Action
🎨

Set Metalness Map

material

Set the metalness map texture for the object's material.

Parameters

Placeholder Object
The placeholder of the object
Texture URL
URL or path to the metalness map texture

Example:

MakeIt3D.SetMetalnessMap('obj01', '/textures/metal.png')
Action
🎨

Set Material Color

material

Set the color of the object's material.

Parameters

Placeholder Object
The placeholder of the object
Color
Color to set (e.g., '#ff0000')

Example:

MakeIt3D.SetColor('obj01', '#00ffcc')
Action
🎨

Unload Texture

material

Remove the texture from the object's material.

Parameters

Placeholder Object
The placeholder of the object

Example:

MakeIt3D.UnloadTexture('obj01')
Action
🎨

Set Video Texture

material

Set a video file as the texture on the object.

Parameters

Placeholder Object
The placeholder of the object
Video URL
URL or path to the video file
Loop
Whether the video should loop
Autoplay
Whether the video should autoplay
Muted
Whether the video should be muted

Example:

MakeIt3D.SetVideoTexture('obj01', '/videos/demo.mp4', true, true, true)
Action

Lines

📏

Draw Line

lines

Draws a straight line from start to end position or using a series of points.

Parameters

Placeholder Object
The placeholder of the object to create the line
Start Position
Line starting position (e.g., MakeIt3D.Vector3(x, y, z))
End Position
Line ending position (e.g., MakeIt3D.Vector3(x, y, z))
Points(optional)
An object or array of points (MakeIt3D.ToArray(...))
Line Color
Color of the line (e.g., '#00ff00')

Example:

MakeIt3D.DrawLine('line01', MakeIt3D.Vector3(0,0,0), MakeIt3D.Vector3(1,1,1), null, '#ff0000')
Action
📏

Draw Dashed Line

lines

Draws a dashed line from start to end position or using points with dash, gap, and scale settings.

Parameters

Placeholder Object
The placeholder of the object to create the line
Start Position
Line starting position (e.g., MakeIt3D.Vector3(x, y, z))
End Position
Line ending position (e.g., MakeIt3D.Vector3(x, y, z))
Points(optional)
An object or array of points
Line Color
Color of the line
Dash Size
Length of individual dashes
Gap Size
Space between dashes
Scale
Scale of the dashed line

Example:

MakeIt3D.DrawLineDashed('dash01', MakeIt3D.Vector3(0,0,0), MakeIt3D.Vector3(3,3,3), null, '#00ffff', 0.2, 0.1, 1)
Action

Post Processing

🪄

Pixelate Edge Effect

postprocessing

Applies a pixelated edge post-processing effect.

Parameters

Pixelation value
Pixelation intensity (higher = more pixelated)
Normal Edge Strength
Edge strength from surface normals
Depth Edge Strength
Edge strength from depth
Show Controls
Display GUI controls

Example:

MakeIt3D.PixelateEdgeEffect(4, 1, 1, true)
Action
🪄

Unreal Bloom Effect

postprocessing

Applies bloom effect with adjustable strength, radius, and threshold.

Parameters

Strength
Strength of the bloom
Radius
Radius of the bloom
Threshold
Brightness threshold for bloom
Show Controls
Display GUI controls

Example:

MakeIt3D.EnableBloomPass(0.8, 0.5, 0.9, true)
Action
🪄

Outline Effect

postprocessing

Adds an outline around selected objects with optional pattern texture.

Parameters

Object id's
Comma-separated IDs of objects to outline
Edge strength
Strength of the outline
Color
Outline color (e.g. '#ff00ff')
Pattern texture
Optional texture overlay on outline
Show Controls
Display GUI controls

Example:

MakeIt3D.EnableOutlinePass('obj1,obj2', 2.0, '#ff00ff', '', true)
Action
🪄

FXAA Effect

postprocessing

Applies fast approximate anti-aliasing (FXAA).

Example:

MakeIt3D.EnableFXAAPass()
Action
🪄

RGB Shift Effect

postprocessing

Applies RGB channel offset to create glitchy visuals.

Parameters

Angle
Angle of the shift (0=horizontal, 90=vertical, 45=diagonal)
Intensity
Strength of the shift (e.g. 0.001 to 0.01)
Show Controls
Display GUI controls

Example:

MakeIt3D.EnableRGBShiftPass(45, 0.005, true)
Action
🪄

SSAO Effect

postprocessing

Applies screen space ambient occlusion.

Parameters

Kernal Radius
Radius to sample occlusion
Min Distance
Minimum distance to occlude
Max Distance
Maximum occlusion depth range
Show Controls
Display GUI controls

Example:

MakeIt3D.EnableSSAOPass(5, 0.1, 1, true)
Action
🪄

After Image Effect

postprocessing

Applies a motion trail or ghosting effect.

Parameters

Damp
Dampness (0-1)
Show Controls
Display GUI controls

Example:

MakeIt3D.EnableAfterImagePass(0.95, true)
Action
🪄

Film Effect

postprocessing

Applies film-style noise, scanlines, and optional grayscale.

Parameters

Noise Value
Noise strength
Scanlines
Scanline intensity
Count
Scanline count
GrayScale
Enable grayscale mode
Show Controls
Display GUI controls

Example:

MakeIt3D.EnableFilmPass(0.5, 0.2, 4096, false, true)
Action
🪄

Glitch Effect

postprocessing

Applies a glitch-style distortion effect.

Parameters

Go wild
Enable wild continuous glitching
Show Controls
Display GUI controls

Example:

MakeIt3D.EnableGlitchPass(true, true)
Action
🪄

Bokeh (Depth of Field)

postprocessing

Simulates camera depth of field with bokeh blur.

Parameters

Focus
Focus distance
Aperture
Aperture size
Max Blur
Max blur strength (0–0.01)
Show Controls
Display GUI controls

Example:

MakeIt3D.EnableBokehPass(0.5, 0.01, 0.005, true)
Action
🪄

Scene Transition

postprocessing

Transitions to a new scene using a visual texture mask with easing and duration options.

Parameters

Scene Json
Path to the target scene JSON file
Texture
Transition texture effect
Threshold
Threshold for transition visibility
Use Custom Texture
Enable custom black/white transition texture
Custom Texture
Path to your custom texture file (e.g., 'texture.png')
Duration
Transition duration in seconds
Easing
Easing function for animation
Orbit controls
Enable orbit controls in new scene

Example:

MakeIt3D.EnableSceneTransitionPass( "assets/scenes/scene2.json", "perlin", 0.5, false, "", 2, "easeInOutQuart", true )
Action

Continue with other sections...

You can organize the rest of your actions (Lights, Materials, Animation, Utils) in the same professional card format!