Feature Request: SurfaceGui/BillboardGui Compositing Control Above UI / ScreenGuis

I’m working on a train simulator that uses ViewportFrames inside a ScreenGui to emulate a fully 3D locomotive cab that the player can freely pan their camera within. This approach works very well for static geometry and provides good performance and flexibility.

However, real-world locomotives rely heavily on dynamic digital displays (speed computers, diagnostic screens, live gauges). The abstraction that best fits these displays is SurfaceGui, but SurfaceGuis currently cannot render inside a ViewportFrame, nor can they be composited above ViewportFrames in a ScreenGui.

To work around this, I prototyped a system where physical workspace parts with SurfaceGuis are camera-relative, continuously updating their CFrame to follow the player’s camera as it pans within the ViewportFrame-emulated cab. A video of this approach is shown below.

This workaround functions, but it breaks down when the SurfaceGui needs to visually appear on top of the cab interior rendered by the ViewportFrame. Since ViewportFrames render as part of the UI pass, they fully occlude world-space SurfaceGuis, even when AlwaysOnTop is enabled. As a result, these displays can only be placed in “open” regions (such as the cab window) rather than in their intended locations on the dashboard.

Rather than a general “draw over everything” behavior, I’m proposing a scoped, opt-in compositing control for SurfaceGuis that allows them to render above ViewportFrames (and possibly ScreenGuis) in a controlled way.

For example:

  • A new SurfaceGui.RenderLayer or similar enum, such as:
    • World (current behavior)
    • OverlayUI (renders above ViewportFrames, below CoreGui)
  • Or a boolean property like:
    • SurfaceGui.DrawAbovePlayerGui = true

This would preserve existing behavior by default, while enabling advanced UI workflows when explicitly requested. This could potentially open doors for other developers to make cool effects using this feature.
Below is an edit of what I would like to see happen as opposed to the previous photo, if this proposed feature were to be implemented.

Strong support for this. There are also several other use cases where this would be extremely helpful, such as mixed 2D/3D HUDs, Equipment or character-based UI with live displays.

The suggested opt-in compositing control (RenderLayer / DrawAbovePlayerGui) is the right solution here. It preserves existing behavior by default while allowing more advanced UI, and wouldn’t negatively impact current experiences.

I support this post. As darksplice mentioned above, this would be extremely useful in this case for allowing more immersion into the game whilst maintaining a rather optimized version of a cab view.