Functions vs behaviors

I am new to Gdevelop. Just now I learnt about behaviors and functions in Gdevelop. They seemed interchangeable to me.
I want to know where do you use which?

I think behaviors are functions targeting objects.
Functions are generic: you can make a function to handle sound volume, it won’t be related to any object. You can also make a function that uses objects without being a behavior.
Functions that are strictly meant for objects are behaviors.
Hope it’s clearer.

It sure helps, thank you for the insight.

1 Like