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

Function

stopCameraRecording

ClientDrawing (dx)Trilogy Hub only

Stops recording. The recording stays available for playback and saving. Returns false if it was no longer recording.

Syntax

bool stopCameraRecording(element recording)

Arguments

recordingelement
The recording.

Returns

true if stopped.

Example

local cam = createCameraRender(320, 180, 15)
local rec = startCameraRecording(cam, 15, 30)
bindKey("F7", "down", function() stopCameraRecording(rec) end)

See also