Let me first state this is probably a very noobish question but I have not been able to figure this out!
I am trying to draw a bounding box around my sprite and I kept getting an error stating boundBox can't be drawn.
sf::FloatRect boundingBox = player[0].getGlobalBounds();
window.draw(boundingBox);
For a better explanation player[0] is a sprite that player 1 controls. so in theory like I saw of the sfml site this should set it to the correct size but I can't figure out what I need to do to draw it.
Thanks for the help!