ex_camera_set_safe_area(cameraHandle, amount)
| Argument | Description |
|---|---|
| cameraHandle | The camera handle |
| amount | The safe area, default is 128 |
This function allows you to increase or decrease the safe area around the camera view. This can help if you plan to rotate or shake the camera a lot, so that several effect overlays such as fade or flash do not appear cut-off. This increases the out-of-view overlay edges to help prevent the effects looking bad.
//Set the safe area for the camera to 512 pixels ex_camera_set_safe_area(global._camera, 512);