# How to call OverlapBlockingTestByChannel from a python script (or another way to test overlap)?

**URL:** <https://forums.unrealengine.com/t/how-to-call-overlapblockingtestbychannel-from-a-python-script-or-another-way-to-test-overlap/2264351>\
**Category:** Editor Scripting\
**Tags:** unreal-engine, question\
**Created:** [January 7, 2025, 1:59pm UTC](https://forums.unrealengine.com/t/how-to-call-overlapblockingtestbychannel-from-a-python-script-or-another-way-to-test-overlap/2264351 "2025-01-07T13:59:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![LucasEgidio](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LucasEgidio](https://forums.unrealengine.com/u/LucasEgidio)\
**Post date:** [January 7, 2025, 1:59pm UTC](https://forums.unrealengine.com/t/how-to-call-overlapblockingtestbychannel-from-a-python-script-or-another-way-to-test-overlap/2264351/1 "2025-01-07T13:59:49Z")

</div>

Hi all!

I’d like to call `OverlapBlockingTestByChannel` from a python script. I saw that this method is not exposed in the python API so I thought that the following would work:

```python
world = unreal.get_editor_subsystem(unreal.UnrealEditorSubsystem).get_editor_world()
world.call_method("OverlapBlockingTestByChannel", *args, **kwargs)

```

But then I get

```auto
Exception: World: Failed to find function 'OverlapBlockingTestByChannel' on 'World'

```

I was wondering if this is possible or whether there is another way to test overlaping in python. My goal is to check if a box of space in my level is not occupied to spawn an actor there.

Thank you very much!
