ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client functions
  3. getCameraRenderAttachedTo

Function

getCameraRenderAttachedTo

ClientDrawing (dx)Trilogy Hub only

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

See also