How do i check if a process is true?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By haofndjkbvfkJFNV

I can do set_process(true) and set_process(false), but i need for an action to happen if the script’s object’s process is true, and not if false. how do i check in-code that the processes are true or not? for example (this is not what i actually expect):

if self.process(true):

I tried searching up on this problem but nothing regarding this came up.

I also tried bool is_active ( ) const, no errors, but nothing happened.


:bust_in_silhouette: Reply From: kidscancode