Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

spriteSize problem?

edited June 2012 in General Posts: 9

I'm trying to use the following code to obtain the dimensions of a sprite and print the values:

w, h = spriteSize("Small World:Court")
    print w
    print h

When trying to run it, I get an error message saying ("=" expected near 'w'). Reading the Codea reference it looks to me that the code above should work. I'm puzzled. Any help is greatly appreciated.



  • edited June 2012 Posts: 176

    Not sure what you are trying to do here.

  • Posts: 9

    Thx! Just realized I forgot the ()'s. Rookie mistake here... :-D

  • Posts: 176

    I'm sure I've never done that! ;-)

Sign In or Register to comment.