# World Ray Hit Query on both WorldStatic and WorldDynamic objects

**URL:** <https://forums.unrealengine.com/t/world-ray-hit-query-on-both-worldstatic-and-worlddynamic-objects/2345954>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, Collision, question\
**Created:** [February 20, 2025, 2:26am UTC](https://forums.unrealengine.com/t/world-ray-hit-query-on-both-worldstatic-and-worlddynamic-objects/2345954 "2025-02-20T02:26:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ramedons](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ramedons](https://forums.unrealengine.com/u/Ramedons)\
**Post date:** [February 20, 2025, 2:26am UTC](https://forums.unrealengine.com/t/world-ray-hit-query-on-both-worldstatic-and-worlddynamic-objects/2345954/1 "2025-02-20T02:26:42Z")

</div>

Hi, I am using World Ray Hit Query node in UE PCG. It seems I can only set collision channel to hit WorldStatic or WorldDynamic objects. But what if I want to hit them both? I tried Visibility channel but it doesn’t work.

---

<div class="post-metadata">

**Author:** ![Galentine41](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Galentine41](https://forums.unrealengine.com/u/Galentine41)\
**Post date:** [March 4, 2025, 10:55am UTC](https://forums.unrealengine.com/t/world-ray-hit-query-on-both-worldstatic-and-worlddynamic-objects/2345954/2 "2025-03-04T10:55:15Z")

</div>

Same here

---

<div class="post-metadata">

**Author:** ![I\_OOF\_69](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@I\_OOF\_69](https://forums.unrealengine.com/u/I_OOF_69)\
**Post date:** [November 22, 2025, 7:14am UTC](https://forums.unrealengine.com/t/world-ray-hit-query-on-both-worldstatic-and-worlddynamic-objects/2345954/3 "2025-11-22T07:14:04Z")

</div>

same question
