Author Topic: Set sprite depth with javascript?  (Read 2938 times)

mremus

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 23
    • View Profile
Set sprite depth with javascript?
« on: October 22, 2013, 08:44:31 AM »
A noob question, but I got to ask...Is it possible to set a sprites depth using javascript?
Can someone show me some example code?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Set sprite depth with javascript?
« Reply #1 on: October 22, 2013, 07:48:29 PM »
Yes, exactly the same way you would do it in C#.