Skip to content

Latest commit

 

History

History
36 lines (20 loc) · 539 Bytes

File metadata and controls

36 lines (20 loc) · 539 Bytes

getRotation()

Availability

Adobe Animate 2019.

Usage

camera.getRotation(frameIndex)

Parameters

frameIndex:int

Return

int

Description

Return current angle of camera.

Example

The following example :

var timeline = an.getDocumentDOM().getTimeline();
timeline.camera.cameraEnabled = true;
var val = timeline.camera.getRotation(0);

See also

getZDepth(), getRotation(), getZoom()