IsInCamera
The IsInCamera export allows you to check if the player is currently using the phone's camera. This can be used to manage HUD elements, such as disabling the map when the camera is active.
How to Use
To check if the player is in the camera, use the following code:
This export returns true
if the camera is active and false
if it is not. Use it to dynamically adjust gameplay elements based on camera usage.
Last updated