|Attention||Topic was automatically imported from the old Question2Answer platform.|
I have a KinematicBody2D and simple scene. In start plays something like a cutscene and I need to stop player when it plays.
extends Node2D func _ready(): $frisk.hide() func _process(delta): $wake.play("wake_up") if Input.is_action_just_pressed("ui_accept"): $frisk.show() $frisk/AnimationPlayer.play("idle_left") $wake.hide()
or i can make things more easier? if it is, then you can tell me.
(I actually have “wake_up” animation in animationplayer, but i can’t find way how to use it properly)