# Particle Emitters

## Always on Top Particles

With some code, you can make particles "Always On Top" by abusing their ZOffset property and a call to WorldToViewportPoint

```lua
--On renderStepped
local screenSpacePosition = workspace.CurrentCamera:WorldToViewportPoint(emitterAttachment.WorldPosition)
emitter.ZOffset = screenSpacePosition.Z - 1
```

<https://twitter.com/MrChickenRocket/status/1704998162753257916>

<https://www.roblox.com/games/12749050323/SunFlare>

***
