- Documentation
- Client functions
- getCameraRenderAttachedTo
Function
getCameraRenderAttachedTo
Returns the element the camera is attached to.
Syntax
element getCameraRenderAttachedTo(element camera)Arguments
cameraelement- The camera.
Returns
The element or false.
Example
local cam = createCameraRender(256, 256)
outputChatBox(tostring(getCameraRenderAttachedTo(cam))) -- false