spriteSize problem?

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.

print(w)
print(h)

Not sure what you are trying to do here.

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

I’m sure I’ve never done that! :wink: