Skip to reading
GDScript Programming & Godot

ResumeAnimation()

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView PDF page

Animation: Resume

Resume the target entity's paused animation playback.

Source table from ResumeAnimation(), page 125
Option key / fieldMeaning and inputDefault
Room sceneIdChoose a scene ID.Blank
Character / Object entityIdChoose an entity in the selected scene.Blank

Timing. Waits for the runtime routine to return; no further completion wait is promised by this schema.

Code example
await ResumeAnimation({"sceneId": "lab", "entityId": "archive_door"})

In use. Pair it with Pause Animation on the same entity. If another state or clip replaced the paused animation, reselecting the correct state may be necessary.

Page 125 of 378Permalink
Go to page