Progetto H — API Reference API & Scripting Documentation
Event Client

Gizmo.Transform

Triggered when the Gizmo has its transform updated

Syntax

Lua
Gizmo.Subscribe("Transform", function(self, location, rotation, scale)
    -- il tuo codice
end)

Arguments

Name Type Default Description
self Gizmo The Gizmo itself
location Vector New Gizmo location
rotation Rotator New Gizmo rotation
scale Vector New Gizmo scale