Reply To: How to get information about current node, node before transition…

NodeCanvas Forums General Discussion How to get information about current node, node before transition… Reply To: How to get information about current node, node before transition…

#15784
Gavalakis
Keymaster

Hello there,

1) Information about the current and previous state nodes can be accessed through the FSM.currentState and FSM.previousState properties. From within a Task (action or condition), you can do this likeso:

2) There is already a Condition included called “Check State Status” which does that. Is that what you meant?

Let me know.
Thanks!

Join us on Discord: https://discord.gg/97q2Rjh