# Need help applying physics to a selected list of random objects

**URL:** <https://forums.unrealengine.com/t/need-help-applying-physics-to-a-selected-list-of-random-objects/133933>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [November 24, 2019, 1:45am UTC](https://forums.unrealengine.com/t/need-help-applying-physics-to-a-selected-list-of-random-objects/133933 "2019-11-24T01:45:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Crazy\_9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Crazy\_9](https://forums.unrealengine.com/u/Crazy_9)\
**Post date:** [November 24, 2019, 1:45am UTC](https://forums.unrealengine.com/t/need-help-applying-physics-to-a-selected-list-of-random-objects/133933/1 "2019-11-24T01:45:25Z")

</div>

Hello,

I’m just wondering if there is a way to apply physics to random object which are practically a copy of one modified cube (of course there will be a delay between each). I know how to enable/disable physics in a blueprint but selecting a list of object and selecting one of them randomly is the part that I don’t really know how should I do it.

Thanks in advance,

---

<div class="post-metadata">

**Author:** ![Crazy\_9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Crazy\_9](https://forums.unrealengine.com/u/Crazy_9)\
**Post date:** [November 24, 2019, 1:12pm UTC](https://forums.unrealengine.com/t/need-help-applying-physics-to-a-selected-list-of-random-objects/133933/3 "2019-11-24T13:12:10Z")

</div>

> [@ClavosTech](#):
>
> You can use \*\*Get All Actors Of Class. \*\*Specify a hint for the actors in the scene such as staticmesh or parent blueprint etc. Then set the result to an array at game startup or periodically on a timer if objects are spawned dynamically at runtime (never do this in Tick). Then use the **Get** node along with a \*\*Random Integer In Range \*\*node using the max array size to clamp the range… That will return one random object at a time. If you need to get a list of random objects all in one go. Do the above first, but then use the **Add Unique** node to add each result to another array…

Thank you so much!!! It worked!!

🙂
