# Unable to access nested module

**URL:** <https://forums.unrealengine.com/t/unable-to-access-nested-module/1403362>\
**Category:** Issues and Bug Reporting\
**Tags:** fortnite-creative, unreal-editor-for-fortnite, fortnite\
**Created:** [November 19, 2023, 12:34pm UTC](https://forums.unrealengine.com/t/unable-to-access-nested-module/1403362 "2023-11-19T12:34:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![RayBenefield](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/raybenefield/32/764480_2.png) [@RayBenefield](https://forums.unrealengine.com/u/RayBenefield)\
**Post date:** [November 19, 2023, 12:34pm UTC](https://forums.unrealengine.com/t/unable-to-access-nested-module/1403362/1 "2023-11-19T12:34:21Z")

</div>

### Please select what you are reporting on:

Verse

### What Type of Bug are you experiencing?

Verse

### Summary

Creating multiple layers of modules results in access issues.

### Steps to Reproduce

- Have the following directory structure:

- device.verse
- TopLevelModuleFolder
  - SubLevelModuleFolder
    - fileInModule.verse

- Add `using { TopLevelModuleFolder.SubLevelModuleFolder }` to `device.verse`

### Expected Result

Should be able to access things in `fileInModule.verse`

### Observed Result

`fileInModule.verse` cannot be accessed due to being “internal” to `TopLevelModuleFolder`

### Platform(s)

PC

### Additional Notes

There is no way to affect the module access level and change it to public if the module is defined by directory structure. Ideally, I can set both the `TopLevelModuleFolder` and the `SubLevelModuleFolder` to both be public somehow, allowing all files in each directory to be easily accessed.

I’ve attempted to add a `TopLevelModuleFolder.verse` with `TopLevelModuleFolder<public> := module {}` but that results in an “ambiguous” definition with the folder itself.

---

<div class="post-metadata">

**Author:** ![t.tutiya](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/t.tutiya/32/924637_2.png) [@t.tutiya](https://forums.unrealengine.com/u/t.tutiya)\
**Post date:** [November 20, 2023, 1:41am UTC](https://forums.unrealengine.com/t/unable-to-access-nested-module/1403362/2 "2023-11-20T01:41:01Z")

</div>

Additional info.

> [@How to use a nested folder's module in Verse?](https://forums.unrealengine.com/t/how-to-use-a-nested-folders-module-in-verse/1172220/1):
>
> Hi. How to access a nested folder’s module in Verse? For example, if I want to access a module in Sub3.verse placed in the Sub1/Sub2 folder, how should I write the using clause? Unfortunately, the code below did not work. using { /Fortnite.com/Devices } using { /Verse.org/Simulation } using { /UnrealEngine.com/Temporary/Diagnostics } using { Sub1} using { Sub2} #Invalid access of internal module `(/localhost/MyProject230520/Sub1:)Sub2` using { Sub1.Sub2} #Invalid access of in…

---

<div class="post-metadata">

**Author:** ![RayBenefield](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/raybenefield/32/764480_2.png) [@RayBenefield](https://forums.unrealengine.com/u/RayBenefield)\
**Post date:** [November 20, 2023, 3:55am UTC](https://forums.unrealengine.com/t/unable-to-access-nested-module/1403362/3 "2023-11-20T03:55:20Z")

</div>

Yep the problem is still a bug and should still be addressed. But thank you for referencing the other threads on this.
