#includeIn this example, we create a FloatRect with a position of (0,0) and dimensions of 100x50. We then access the "bottom" member to get the position of the bottom side of the rectangle. We can also use other methods provided by the SFML library to check if the rectangle intersects with another rectangle or contains a certain point. So the package library used here is SFML.int main() { sf::FloatRect rect(0, 0, 100, 50); float bottom = rect.bottom; // gets the position of the bottom side of the rectangle (50) // some other methods you can use: rect.intersects(anotherRect); // checks if two rectangles intersect rect.contains(x, y); // checks if a point is inside the rectangle rect.top; rect.left; rect.width; rect.height; // gets other properties of the rectangle return 0; }