Concept Flow - Mouse input (GetMouseButton, position)
Start Frame
Check Mouse Button State
GetMouseButton(0) pressed?
No→No Action
Get Mouse Position
Use Position for Action
End Frame / Repeat
Each frame, the program checks if the mouse button is pressed. If yes, it reads the mouse position and uses it for actions like clicking or dragging.