focusOn(displayObject)
Move the camera focus on a display object instantly.
Parameters
| Name | Type | Description |
|---|---|---|
displayObject | any | The display object to focus the camera on. Must have visible x/y properties. |
- Source code: core/Camera.js (Line 335)
focusOn(displayObject)
Move the camera focus on a display object instantly.
| Name | Type | Description |
|---|---|---|
displayObject | any | The display object to focus the camera on. Must have visible x/y properties. |
Please login to continue.