0 votes

I'm trying to override my animation player functions like this:

extends AnimationPlayer

func seek (seconds:float,update:bool=false ) -> void:
    print("seek =>",seconds)

func advance (delta:float) -> void:

func play (name:String="", custom_blend:float=-1, custom_speed:float=1.0,from_end:bool=false) -> void:

but I have no idea why it isn't working, nothing is being printed when I test it

I'm particularly interested in seek(), when I move the time bar/when the animation is playing, it should be simultaneously print the seconds of where it is

enter image description here

Basically I'm trying to track the time bar

Godot version v3.5.stable.mono
in Engine by (89 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.