function · ui

pan_camera

Records one optional camera-centering intent.

ui.pan_camera(cell_x, cell_y)
Stable ID
ui.pan-camera
Owner
app.ScriptPackageHost
Authority
presentation
Timing
composition
Availability
Phase 14 package callbacks
Side effects
centers the Render-owned camera
Determinism
Host-created package identity and per-callback budgets.
Introduced
1.19.0

Usage

Declare at most one request outside a panel to center the Render-owned camera on a bounded World-cell coordinate. The request never changes simulation state.

Parameters

Returns

No gameplay value. The call records one detached camera intent.

Cost

Constant-size validation and one Render camera update.

Fields

This symbol has no fields.

Errors

Examples

ui.pan_camera(12, -4)

API history

Related symbols

Project references