Right so I created 1 texture with 2 images, I managed to use SetTextureRect but I got little issues with mouse settings now. I used
if (event.type == Event::MouseMoved)
{
mouse_poz = Mouse::getPosition();
mouse_poz is of Vector2i type. Now how do I get bounds of the texture, I know I got 2 functions for it but what's this FloatRect I just don't know how to store the values in a variable
if I set position like if(mouse_poz.x > 0 && mouse_poz.x < 100 && mouse_poz.y > 0 && mouse_poz.y < 100) then it works but only if my window is maximized/positioned in upper left corner....how can I set it up so it works relatively to the window position