Setting Timescale

Hi all. Newish to blueprints, not used them in any great depth. Trying to do something fairly simple.

I have a timeline which controls the sun and moons rotation. What I want to be able to do is press a key (or preferably a console command) to set the animation length or speed.

Here is what I have so far


I know my input is working as i see the path when i hit the numbers during PIE. But nothing really happens.

Obviously I’m doing something completely wrong.

Any ideas how to make this work? Much appreciated everyone!

Thanks in advance!

Do you ever call Play on your timeline?
The update node only executes while it is playing the timeline, so you might instead want to call “Set Play Rate” on button press instead of on timeline update.

The timeline plays automatically. I am able to set its play rate in the blueprint and see it all moving fine.

In the end I don’t want the play rate to be a button press, it would be better off being a console command. This is just for testing it out.

Cheers for the help!