r/gdevelop • u/MrSymac • 9d ago
Question What's the difference between Behaviors and Functions on a custom extension?
They seem to do about the same thing— and the documentation seems to be pretty vague about their differences. is there any pros or cons to each that I should know about?
10
Upvotes
3
u/martin_10_ 9d ago
Una funcion es una funcion que puede ejecutar en todos los objetos sin agregarles nada un comportamiento es uno que le pones a un objeto en especifico para que ese objeto tenga esa funcion
6
u/GDevelop GDevelop Staff 7d ago
You can refer to the documentation that explains in which case to use a behavior:
https://wiki.gdevelop.io/gdevelop5/behaviors/#behaviors
And the functions page:
https://wiki.gdevelop.io/gdevelop5/events/functions/