# Bullets on top \[SOLVED\]

**URL:** <https://forum.defold.com/t/bullets-on-top-solved/70744>\
**Category:** Questions\
**Created:** [April 18, 2022, 11:01am UTC](https://forum.defold.com/t/bullets-on-top-solved/70744 "2022-04-18T11:01:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![benjames171](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/benjames171/32/34759_2.png) [@benjames171](https://forum.defold.com/u/benjames171)\
**Post date:** [April 18, 2022, 11:01am UTC](https://forum.defold.com/t/bullets-on-top-solved/70744/1 "2022-04-18T11:01:01Z")

</div>

I need to draw enemy bullets on top of everything else, including particles. I don’t know much about render pipelines and wotnot but was thinking of making a predicate for these bullets so they are drawn last.

Would this be a reasonable approach?

---

<div class="post-metadata">

**Author:** ![Alex\_8BitSkull](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/alex_8bitskull/32/5424_2.png) [@Alex\_8BitSkull](https://forum.defold.com/u/Alex_8BitSkull)\
**Post date:** [April 18, 2022, 11:04am UTC](https://forum.defold.com/t/bullets-on-top-solved/70744/2 "2022-04-18T11:04:57Z")

</div>

Settle down, for this is going to be long…

The answer is: Yes.

🙃

---

<div class="post-metadata">

**Author:** ![Alex\_8BitSkull](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/alex_8bitskull/32/5424_2.png) [@Alex\_8BitSkull](https://forum.defold.com/u/Alex_8BitSkull)\
**Post date:** [April 18, 2022, 11:06am UTC](https://forum.defold.com/t/bullets-on-top-solved/70744/3 "2022-04-18T11:06:40Z")

</div>

So, more seriously, I think that the answer is definitely yes. The cost is that, at a minimum, you will generate at least one extra drawcall. There _may_ be additional considerations that I am not aware of, but I am fairly certain they will be even more negligible. In Fates of Ort I have multiple additional render predicates for various reasons.

---

<div class="post-metadata">

**Author:** ![benjames171](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/benjames171/32/34759_2.png) [@benjames171](https://forum.defold.com/u/benjames171)\
**Post date:** [April 18, 2022, 11:12am UTC](https://forum.defold.com/t/bullets-on-top-solved/70744/4 "2022-04-18T11:12:50Z")

</div>

> [@Alex\_8BitSkull](#):
>
> The answer is: Yes.

Ok, great! Thank you.

It felt like tinkering with dark powers at first but actually took less than 5 minutes to implement and does exactly what I want.
