# HELP! UE5 C++ How to use ALandscape with ALandscapeStreamingProxy to spawn proxy in landscape

**URL:** <https://forums.unrealengine.com/t/help-ue5-c-how-to-use-alandscape-with-alandscapestreamingproxy-to-spawn-proxy-in-landscape/1379476>\
**Category:** Editor Scripting\
**Tags:** unreal-engine, question\
**Created:** [November 10, 2023, 9:32pm UTC](https://forums.unrealengine.com/t/help-ue5-c-how-to-use-alandscape-with-alandscapestreamingproxy-to-spawn-proxy-in-landscape/1379476 "2023-11-10T21:32:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![d4wr0s](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/d4wr0s/32/774479_2.png) [@d4wr0s](https://forums.unrealengine.com/u/d4wr0s)\
**Post date:** [November 10, 2023, 9:32pm UTC](https://forums.unrealengine.com/t/help-ue5-c-how-to-use-alandscape-with-alandscapestreamingproxy-to-spawn-proxy-in-landscape/1379476/1 "2023-11-10T21:32:41Z")

</div>

Hi. I’m new to UE C++ and can’t find an example on how to create a Landscape and add a LandscapeStremingProxy to it. The goal I want to achieve is to create an initial landscape with 1 initial proxy and then add a new proxy to the initial landscape from bp.

I Make a BlueprintFunctionLibrary with 2 func to create landscape and landscape streaming proxy. And its works but in separete.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/b/a/6ba73a1154b83c97a46e2361d57ae13233ce476d.jpeg)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/4/4/c4495e0c4acb7f3c5700796e86a5ee19892004d4.jpeg)

This is a func code to spawn ALandscape (same uses to spawn ALandscapeStremingProxy)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/9/d/c9d38d0a22cda50fa46a814d9074efff6f3ce4aa.png)

.h

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/2/1/92193db1965b9c8a87512de3393c9ee69edd92a5.png)

Blueprints

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/0/c/60c28949e404afb95f74230bb6417150b6134a4e.png)
