How to ignore user inputs (touch/mouse click)?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By sanjib
:warning: Old Version Published before Godot 3 was released.

I have an animation running and i want to ignore user inputs for a while.

I tried set_block_signals(true) but its not working

sanjib | 2017-03-30 16:13

In general, the way to ignore inputs is to just ignore them (don’t process them if you don’t want to) but it seems that you want something in particular, if you can add more details maybe we can give better answers.

eons | 2017-03-31 16:37

:bust_in_silhouette: Reply From: Nuno Donato
set_process_input(false)

?

this, or just ignore the inputs you want if some_ignore_input_variable == true

eons | 2017-03-30 23:20

thank you, but its not working for me, so i ignored the inputs as the input results in error: null instance

sanjib | 2017-03-31 05:51