Author Topic: How to create entity over hero?  (Read 64 times)


  • Jr. Member
  • **
  • Posts: 86
    • View Profile
How to create entity over hero?
« on: April 09, 2018, 03:39:39 am »
So I'm trying to create an entity that overlaps the hero,but whenever I attempt this the hero is always on top. The only way I've found to fix this problem is by setting the entity to the hero's layer + 1, but this leads to other graphical issues, so it really needs to be on the hero's layer.


  • Administrator
  • Hero Member
  • *****
  • Posts: 1094
    • View Profile
Re: How to create entity over hero?
« Reply #1 on: April 09, 2018, 10:57:47 am »
What kind of entity is it? If it is a custom entity, you can use set_drawn_in_y_order(true).