Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
gdevelop5:events:functions [2019/06/13 21:30]
piyushpalawat99
gdevelop5:events:functions [2019/06/20 11:09] (current)
4ian
Line 87: Line 87:
  
 That's it! The function is used like any other condition, action or expression in the [[gdevelop5:​interface:​events-editor|Events Editor]]. That's it! The function is used like any other condition, action or expression in the [[gdevelop5:​interface:​events-editor|Events Editor]].
 +
 +<note tip>
 +The **Object Groups** feature, while creating functions, helps grouping similar object parameters. This way you can apply an action/​condition to a group of object parameters (parameters pointing at objects) at once.</​note>​
  
 ## Advanced usages ## Advanced usages
  
 This page gave a basic overview of what functions are. They are one of the more powerful features of GDevelop, as you can extend the events by using them, enabling to create very readable and concise events sheets. By using them, you can reduce the amounts of events that you write for your game, avoid copy-pasting them and even reduce bugs by ensuring that functions are always used for common tasks on your objects. This page gave a basic overview of what functions are. They are one of the more powerful features of GDevelop, as you can extend the events by using them, enabling to create very readable and concise events sheets. By using them, you can reduce the amounts of events that you write for your game, avoid copy-pasting them and even reduce bugs by ensuring that functions are always used for common tasks on your objects.
 +
  
 ### Recursive functions ### Recursive functions