Are There Custom Signals?

Godot Version

v4.2.2.stable.official [15073afe3]

Question

I am an absolute noob at GDscript, so I am probably going to say a lot of dumb stuff. I started Godot a week ago, and I have managed to make a basic UI system. I have LOTS of questions, but I’ll dedicate this Topic to one:

Are there custom signals?

I think signals in godot are really useful! They help with buttons and stuff, but what I really wanted to know is if I can make my own? Or is there another way to do it?

My problem

I have 5 boxes. Each box is one slot. All I want to do is be able to send like a message from anywhere to make each block reload a texture. This is for an inventory I am trying out, and this is basically what I want to call if something happens to the array that represents the inventory. Does the solution to this even involve signals?

Thanks!

1 Like

Yes, you can use custom signals Here’s the GDScript documentation.

3 Likes