Scene Boxes
Overview
Scene Box is to show models and characters in the interface.
- Scene Box
Properties
| Property | Description |
|---|---|
| Visible | Whether the Back Image of the Scene Box is visible. |
| Back Image | Set the scene. |
Events

| Callback name | Callback Function |
|---|---|
| on_click | The callback when left-clicking. |
| on_mouse_wheel | The callback when clicking the mouse wheel. |
| on_drag_move | The callback when dragging the left mouse button. |
Lua Script Example
local scene = world:Create("RenderTex")
scene.Name = nx_string(scene)
scene.Width = scenebox.Width
scene.Height = scenebox.Height
scene:Load()
world:AddRenderTex(scene)
scenebox.BackImage = scene.Name