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
Last revision Both sides next revision
gdevelop5:events:functions [2019/06/18 22:25]
nilarjun
gdevelop5:events:functions [2019/07/02 13:41]
piyushpalawat99
Line 88: Line 88:
 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]].
  
-<WRAP round info 99%+<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.</WRAP>+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
Line 101: Line 101:
  
 <note important>​Be very careful when writing a recursive function. If you don't add conditions, the function could call itself infinitely, blocking your game.</​note>​ <note important>​Be very careful when writing a recursive function. If you don't add conditions, the function could call itself infinitely, blocking your game.</​note>​
 +
 +You can [[gdevelop5:​events:​functions:​return|use the actions in "​Functions"​ category to return expression/​condition values]]. ​
  
 ### Sharing functions ### Sharing functions