Busy converting from 2.13 to 3.02.
get_tree().get_root().get_node("BCK/Sprite/pl").set_speed(3.0)
It worked before… I have tried “setspeed” and set_playback_speed. Going to the docs I only found “float playback_speed” and I dunno how to use that.
set_playback_speed
float playback_speed
help plz…?
I’m assuming you’re talking about an AnimationPlayer node.
AnimationPlayer
The property you saw is listed under “Member Variables”. In 3.0, that means you can access those properties directly rather than use set_/get_ methods. So your code would be
get_tree().get_root().get_node("BCK/Sprite/pl").playback_speed = 3.0
you rock! that fixed it all! Thank you!
Mystile1369 | 2018-03-27 22:05