This section lists all available Actions in MakeIt3D. Use these in Construct 3 Event Sheets to create and control 3D elements.
Initialization
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
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
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.
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
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
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
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 the camera from following any object.
Example: MakeIt3D.StopFollowObject
Action
Switch between perspective and orthographic projection.
Parameters Camera Type Select the camera projection type.
Example: MakeIt3D.SetCameraType("perspective")
Action
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
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
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
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 the camera from looking at any object.
Example: MakeIt3D.StopCameraLookAtObject
Action
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
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
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)
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
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 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
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
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
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
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
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
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
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
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
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
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
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
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 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
Remove an object from the scene.
Parameters Placeholder Object The unique placeholder of the object to destroy
Example: MakeIt3D.DestroyObject("cube_1")
Action
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
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 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
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 the scale of a 3D object in the scene.
Parameters Placeholder Object The placeholder of the object to set scale
Lerp Factor Lerp factor to smoothly interpolate
Example: MakeIt3D.SetObjectScale('MyObject', 2, 2, 2, 0.3)
Action
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 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 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 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 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 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 (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
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
Creates a Point Light to the scene.
Parameters Placeholder Object Unique ID for the light.
Position Position to place the light.
Intensity Light intensity.
Distance Distance for attenuation.
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.
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.
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
Creates an Ambient Light to the scene.
Parameters Placeholder Object Unique placeholder for 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
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.
Intensity Light intensity.
Distance Distance for attenuation.
Angle Cone angle in radians.
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
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 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
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
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 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 the paused animation for a 3D model
Parameters Placeholder Object The placeholder of the object to resume animation
Example: MakeIt3D.ResumeAnimation('model01')
Action
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
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
Casts the ray from camera to object.
Parameters Target Object Target Object
Example: MakeIt3D.CameraToObjectRaycast('object123')
Action
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
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
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
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
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 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.
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)
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
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
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
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 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 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 the wrapping mode for an object's texture.
Parameters Placeholder Object The placeholder of the object
Wrap S Horizontal wrap mode
Example: MakeIt3D.SetTextureWrap('obj01', 'repeat', 'clamp')
Action
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 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 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 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 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 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 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
Remove the texture from the object's material.
Parameters Placeholder Object The placeholder of the object
Example: MakeIt3D.UnloadTexture('obj01')
Action
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
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
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
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
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
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
Applies fast approximate anti-aliasing (FXAA).
Example: MakeIt3D.EnableFXAAPass()
Action
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
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
Applies a motion trail or ghosting effect.
Parameters Show Controls Display GUI controls
Example: MakeIt3D.EnableAfterImagePass(0.95, true)
Action
Applies film-style noise, scanlines, and optional grayscale.
Parameters Noise Value Noise strength
Scanlines Scanline intensity
GrayScale Enable grayscale mode
Show Controls Display GUI controls
Example: MakeIt3D.EnableFilmPass(0.5, 0.2, 4096, false, true)
Action
Applies a glitch-style distortion effect.
Parameters Go wild Enable wild continuous glitching
Show Controls Display GUI controls
Example: MakeIt3D.EnableGlitchPass(true, true)
Action
Simulates camera depth of field with bokeh blur.
Parameters Max Blur Max blur strength (0–0.01)
Show Controls Display GUI controls
Example: MakeIt3D.EnableBokehPass(0.5, 0.01, 0.005, true)
Action
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!