Skip to content

Latest commit

 

History

History
31 lines (17 loc) · 441 Bytes

File metadata and controls

31 lines (17 loc) · 441 Bytes

resetPosition()

Availability

Adobe Animate 2019.

Usage

camera.resetPosition(frameIndex)

Parameters

frameIndex:int

Return

Nothing

Description

Reset camera position to the original position i.e (0,0,0).

Example

The following example resets camera position to the original position i.e (0,0,0):

var timeline = an.getDocumentDOM().getTimeline();
timeline.camera.resetPosition(0);