Check variable values while playing?

Hi, I’m trying to figure out how to visually see a variable changing when I play my map. It seems like the main viewport window and blueprint / animation windows work separately of each other.

For example, If I have a speed variable attached to axis input, is there a way to see it working as I test my map? Right now, if I hit play and move around- the attached speed variable just remains 0.0 on the other screen even though I know it’s changing.

Hope I explained that correctly, thank you!

Hi Daphnis,

There’s two quick was to see what your value is at that you could try, both of which are outlined in the image below:

1918-variablewatching.png

You could either:

A) Hook up your variable to a PrintString and hook that up to an Event Tick so it’ll display it.

B) Or, you can right click on the Variable and choose Watch this value (you’ll have to have the Blueprint window up to see it but it will update in real-time).

Hope this helps.

-W

Thanks,

I’m trying the Watch variable method, however it’s still not working. Perhaps I’m missing a setting? I also do not have the drop down available to me.

I’m worried I may have inadvertently messed with a setting somewhere, because the blueprints and state machines do not follow my movements in game, they seem disconnected. Could that be the case here?

Ah, didn’t know it was an Animation Blueprint. :slight_smile:

Still, inside the Animation Blueprint at the top you should have the option to select the “Debug Filter” and set it to watch the Blueprint when it’s running, see the image below:

I can’t play in editor and take a screenshot of it working at the same time, but I did see the values changes when doing it this way.

Ahh many thanks that did it!

What happens if you try to play in editor while on the Default tab, does it move from state to state then?