# Question about multi-processing from Python API

**URL:** <https://forums.unrealengine.com/t/question-about-multi-processing-from-python-api/1941278>\
**Category:** Editor Scripting\
**Tags:** unreal-engine\
**Created:** [July 18, 2024, 1:59am UTC](https://forums.unrealengine.com/t/question-about-multi-processing-from-python-api/1941278 "2024-07-18T01:59:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sang107s](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sang107s](https://forums.unrealengine.com/u/Sang107s)\
**Post date:** [July 18, 2024, 1:59am UTC](https://forums.unrealengine.com/t/question-about-multi-processing-from-python-api/1941278/1 "2024-07-18T01:59:57Z")

</div>

Hi,  
I’m using Python in Editor to perfrom clash detection, the key function as below:

```auto
def check_point_data(array,px,py,pz,xx,yy,zz,box):
    point_to_check = unreal.Vector(px,py,pz)
    small_extent = unreal.Vector(box, box, box)  
    world = unreal.get_editor_subsystem(unreal.UnrealEditorSubsystem).get_editor_world()
    object_types = [unreal.ObjectTypeQuery.OBJECT_TYPE_QUERY1,unreal.ObjectTypeQuery.OBJECT_TYPE_QUERY2,unreal.ObjectTypeQuery.OBJECT_TYPE_QUERY3,unreal.ObjectTypeQuery.OBJECT_TYPE_QUERY4,unreal.ObjectTypeQuery.OBJECT_TYPE_QUERY5,unreal.ObjectTypeQuery.OBJECT_TYPE_QUERY6]
    overlap_results = unreal.SystemLibrary.box_overlap_actors(
        world,
        point_to_check,
        small_extent,
        object_types,  
        None,  
        []  
    )

```

The problem is I need to run this againt billions of points, but the current script only uses 1 CPU core. Is there a way to do that with multiple CPU cores?

Thanks
