# How to trigger object movement

**URL:** https://discussions.unity.com/t/how-to-trigger-object-movement/68000
**Category:** Questions & Answers
**Created:** [April 6, 2013, 12:47pm UTC](https://discussions.unity.com/t/how-to-trigger-object-movement/68000 "2013-04-06T12:47:10Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![L33TSAM](https://avatars.discourse-cdn.com/v4/letter/l/ad7895/32.png) [@L33TSAM](https://discussions.unity.com/u/L33TSAM)
#### Post date: [April 6, 2013, 12:47pm UTC](https://discussions.unity.com/t/how-to-trigger-object-movement/68000/1 "2013-04-06T12:47:10Z")

</div>

I want to know how to move multiple objects with deltatime when I exit a trigger. I would also like to know how to make the trigger delete itself when i exit it.

---

<div class="post-metadata">

### Author: ![LightSource](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/lightsource/32/293445_2.png) [@LightSource](https://discussions.unity.com/u/LightSource)
#### Post date: [April 6, 2013, 3:48pm UTC](https://discussions.unity.com/t/how-to-trigger-object-movement/68000/2 "2013-04-06T15:48:21Z")

</div>

Triggers:

> **[Unity - Scripting API: Collider.OnTriggerEnter(Collider)](https://docs.unity3d.com/ScriptReference/Collider.OnTriggerEnter.html)**

Deltatime:

> **[Unity - Scripting API: Time.deltaTime](https://docs.unity3d.com/ScriptReference/Time-deltaTime.html)**

Deactivating a game object:

> **[Enable/Disable objects, with script](https://discussions.unity.com/questions/10733/enabledisable-objects-with-script.html)**
>
> Hi, I was wondering if anyone could give me some help: I have a project, and will have two scenes - a "before" and an "after" world. The "after" world will have lots of different objects that I need to be able to turn on and off via script, because...

Google is a simply WONDERFUL resource:

> **[LMGTFY - Let Me Google That For You](https://lmgtfy.app/?q=How%2Bto%2Bdeactivate%2Ba%2BgameObject%2Bunity)**
>
> For all those people who find it more convenient to bother you with their question rather than to Google it for themselves.
