Node doesn't process when tree is paused when pause mode is set to process

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

this is the script i want to process (it works fine when tree is not paused)

extends Area2D
func _input_event(viewport, event, shape_idx):
    if event is InputEventMouseButton :
	    if event.button_index == BUTTON_LEFT :
 		    if event.pressed :

the node which i want to keep processing is in the same scene as the others, i pause the tree from a different node (but still in the same scene)

What if you place the node that needs to process under the CanvasLayer node?
Like this :
o CanvasLayer
|—o Area2D (set pause mode to process)
Mine’s work this way, I hope this work for you too

asetyowatir | 2018-05-05 04:02

nope, still doesnt work that way :confused:

i tryed to put a button instead of an area2d to click, and the button works :open_mouth:

Tova | 2018-05-05 07:37

@Tove : just had the same problem in Godot 3.1.1 …

siska | 2019-05-29 08:05

Seems like an example of long-standing (and still-open) issue

Don’t know of any workarounds at this time.

Hammer Bro. | 2020-05-17 19:28