Apps Can't set background texture

I'm trying to add texture to a label:

separator = ac.addLabel(appWindow, '')
ac.setPosition(separator, 150, 40)
ac.setSize(separator, 50, 50)
ac.setBackgroundTexture(separator, 'apps/phyton/myapp/images/separator.png')

But setBackgroundTexture returns -1.
 

Latest News

What would make you race in our Club events

  • Special events

    Votes: 87 30.4%
  • More leagues

    Votes: 58 20.3%
  • Prizes

    Votes: 62 21.7%
  • Trophies

    Votes: 37 12.9%
  • Forum trophies

    Votes: 18 6.3%
  • Livestreams

    Votes: 47 16.4%
  • Easier access

    Votes: 145 50.7%
  • Other? post your reason

    Votes: 42 14.7%
Back
Top