untitled.vx
Running ✓
Commands
  • createmeshproperties(shape/color/tag) — shapes: sphere, cube, cylinder, cone, capsule, torus, plane
  • setpointproperty X(0)Y(0)Z(0) — moves the last mesh; setpointproperty(tag) X()... targets a tag. Empty () = 0
  • oneventinputproperties(KEY) ... — runs the commands after it (same line or indented below) once per key press. Keys: A–Z, 0–9, SPACE, UP, DOWN, LEFT, RIGHT
  • motionproperties(tag/axis/amount) — moves a mesh along X, Y or Z
  • animationproperties(tag/axis/amount/seconds) — glides a mesh smoothly that far over that many seconds, like a door or a moving platform. Things standing on it ride along
  • eventfireproperties(touching/tag) ... — runs the commands after it when that mesh starts touching any other mesh. (touching/tag/othertag) only counts that one other mesh
  • setgravityproperties(tag/intensity) — the mesh falls (9.8 ≈ Earth, 0 = off) and lands on the floor or on interactable meshes. Moving it up on Y then becomes a jump that height
  • meshtagproperties(interactable/tag) — makes a mesh solid: things can't move through it and can stand on it
  • varproperty(editable/name) — makes a variable (starts at 0)
  • setvarproperty(value) sets the last variable; setvarproperty(name/value) sets a named one. Use a variable anywhere a number goes: X(velocity), motionproperties(1/X/velocity)
  • fireactionproperties(hide/tag) / (show/tag) — hidden meshes vanish and can't be touched
  • createelementproperties(tag/box/label) — an on-screen button. Place it with setpointproperty(tag) X(50)Y(90): percent across and down the screen
  • fireactionproperties(element/tag) ... — runs the commands after it when that button is clicked or tapped. fireactionproperties(hide/tag) and (show/tag) work on buttons too
  • particleproperties(tag/effect) — effects: fire, smoke, explosion, sparkle, confetti, rain, snow, bubbles, magic, dust. Fire, smoke, rain, snow, bubbles and magic keep going; the rest are one burst. (tag/effect/colour) recolours it, (tag/effect/name) uses a particle you drew in the 🎨 Particles tab. (tag/off) stops a mesh's effects, (tag/fire/off) stops just one
  • Models: add .glb files in the 📦 Models tab. Each model has its own code (pick it there), and commands there work on that model without a tag: motionproperties(X/5), setgravityproperties(9.8), eventfireproperties(touching) .... Other code uses the model's name like a tag: motionproperties(car/X/5)
  • # comment — ignored

Shared!

Anyone with this link can play it, and it shows on Explore.
Open project page