Skip to main content
Inspiring
May 1, 2025
Question

How do you render a non CustomUI object above a CustomUI?

I want to display a particle effect over the CustomUI but I'm not able to because the CustomUI renders above everything even an object that is closer to the camera. The CustomUI is an overlay.

Z-index is available but that only applies to elements within the CustomUI. I want to show an separate object that's NOT a CustomUI.

What I've tried already:

  • Attached the particle effect on the head anchor. Result: CustomUI still renders above everything
  • Attached both CustomUI and particle effect on the head anchor. Result: CustomUI won't be an overlay anymore

Again, my question is: Is there a way to render a non CustomUI object above a CustomUI (overlay)?

2 replies

MResearchAuthor
Inspiring
May 5, 2025

Any ideas? Hoping to solve this before the deadline.

PigeonNo12
Honored Contributor
May 6, 2025

Overlays attach to the player's screen on mobile and PC. This indeed prevents from rendering objects and effects behind it. A workaround would be leaving a transparent area in the CUI, and place the VFX around that spot so the player can see it.

Upcoming Events : Build with a Mentor: Custom UI Thursday 3/20 at 5:00 PM PT Register March calendar of all Mentor Workshops and Office Hours