SBoxCollider
Index
Properties Index
Property Name
Properties
Center
Center = Space.Host.ExecutingObject.BoxCollider.Center--clicking this object moves it's Box Collider's center one unit upwards
thisObject = Space.Host.ExecutingObject
OnClick = function()
center = thisObject.BoxCollider.Center
thisObject.BoxCollider.Center = Vector.New(center.X,center.Y + 1, center.Z)
end
thisObject.AddClickable()
thisObject.Clickable.OnClick(OnClick)