Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

ZOrder

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    ZOrder

    Hello,

    is it possible to change the ZOrder within onRender when rendering multiple objects?
    I tried to set the ZOrder, draw a rectangle behind the bars, then change the ZOrder and draw another rectangle over the bars but it didnt work.

    Thank you and best regards,
    Mike

    #2
    Hello mk77ch,

    Thank you for your post.

    It is not possible to set the Z-Order for individual objects in OnRender. The NinjaScript Object will have it's own Z-Order and this will apply to each drawn item. If the object's Z-Order is behind or in front of the bars then the objects drawn in the NinjaScript Object's OnRender will have the same Z-Order applied.

    Please let me know if you have any questions.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    67 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    96 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    53 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    108 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    63 views
    0 likes
    Last Post PaulMohn  
    Working...
    X