How do you detect when a OBJ was just created

how do you detect if a obj was created then add a force


there is no event called on create, when created, after create run: , etc…

And why would you want to separate the force from the event that creates the object?

You must have an event already that triggers the creation. Just put your force (es) as a subevent of it

And please stop spamming the link in random topics, that’s of no use

@player_toaster
As you have spammed different other posts to ask for help and waste time to moderation and therefore myself.
I give you a few more hours to find a solution to your problem by yourself.

This topic was automatically opened after 10 hours.

In GDevelop the moment you run the Action to create an object is the place where you need to put all your actions that you want to execute when an object is created:

If you would like to check some conditions before execute certain actions, you want to add those as sub-events.

Otherwise if you are developing a custom behavior it got an onCreated function where you can add events to run when the object is created with the behaviour is attached to it:

You can learn about creating your own behaviors on the wiki:
http://wiki.compilgames.net/doku.php/gdevelop5/behaviors/events-based-behaviors

1 Like