How do I retrieve just the texture of a SpriteNode so that I can compare it to another?
When I compare sprite1's texture to sprite2's texture it always returns False even though I know they are the same texture.
I am assuming that I am comparing something other then the textures of sprite1 and sprite2.
How do I compare the textures so that if both sprites are 'plc:Brown_Block' then it returns True?
from scene import *
sprite1 = SpriteNode('plc:Brown_Block')
sprite2 = SpriteNode('plc:Brown_Block')
print(sprite1.texture == sprite2.texture)
False