# How to set up custom depth on a recursively spawned actor (surface-oriented mouse cursor)

**URL:** <https://forums.unrealengine.com/t/how-to-set-up-custom-depth-on-a-recursively-spawned-actor-surface-oriented-mouse-cursor/1808152>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question\
**Created:** [April 17, 2024, 2:34pm UTC](https://forums.unrealengine.com/t/how-to-set-up-custom-depth-on-a-recursively-spawned-actor-surface-oriented-mouse-cursor/1808152 "2024-04-17T14:34:35Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![flyingmonkey398](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@flyingmonkey398](https://forums.unrealengine.com/u/flyingmonkey398)\
**Post date:** [April 18, 2024, 9:36am UTC](https://forums.unrealengine.com/t/how-to-set-up-custom-depth-on-a-recursively-spawned-actor-surface-oriented-mouse-cursor/1808152/3 "2024-04-18T09:36:29Z")

</div>

I am finding that decals will bend to accord with the mesh geometry. This is why I opted for spawning a partially transparent plane. What I’m looking for is for this plane to appear over top of every mesh like so:

 ![Screenshot 2024-04-18 at 12.36.03 pm](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/4/6/f467c77c3f2dda3472777657c75f426da26d2841.png)  
Much appreciate it!

---

_[View the full topic](https://forums.unrealengine.com/t/how-to-set-up-custom-depth-on-a-recursively-spawned-actor-surface-oriented-mouse-cursor/1808152)._
