# Get all datalayers with Python

**URL:** <https://forums.unrealengine.com/t/get-all-datalayers-with-python/687820>\
**Category:** Editor Scripting\
**Tags:** Python, unreal-engine, question\
**Created:** [November 10, 2022, 8:25am UTC](https://forums.unrealengine.com/t/get-all-datalayers-with-python/687820 "2022-11-10T08:25:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![9Evgeny9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@9Evgeny9](https://forums.unrealengine.com/u/9Evgeny9)\
**Post date:** [November 10, 2022, 8:25am UTC](https://forums.unrealengine.com/t/get-all-datalayers-with-python/687820/1 "2022-11-10T08:25:44Z")

</div>

In my scene i have few datalayers.  
I can access datalayer by its label

```auto
datalayer_editor_system = unreal.get_editor_subsystem(unreal.DataLayerEditorSubsystem)
layer=unreal.Name.cast('Restaurant')
mylayer=datalayer_editor_system.get_data_layer_from_label(layer)

```

But how to get ALL datalayers (if i don’t know its names) to i.e. array of datalayers, and then work with this array?
