accesing function from scene to another scene code

Godot Version

4.4.1

Question

Im trying to code particles when: func _on_area_3d_area_entered(area: Area3D) ,
but I have no idea how to access the function I got for particles which is: func anvil_break():
to play when the area enters another area

You really need to provide more details. What prevents you from just calling the anvil_break() from _on_area_3d_area_entered() ?

The usual way to communicate between unrelated nodes is using “signals”:

2 Likes