mobile constantly updating finger position

Hey im working on a game, the game is a puzzle game with about 14 squares, in a grid formation, the player can touch anywhere on the screen and move their finger around and when they move their finger over a clickable square the square changes sprites.

How could this be achievable with finger touches, currently im using OnMouseDown() but that means the player has to put their finger down on a square and then back up to be able to touch another square.

I would imagine what you’re looking for is:

Input.GetMouseButton(0)// for left click

Input.GetMouseButton(1)// Right click

I think this should register the length of “Pressed” whereas GetMouseDown() fires only once when pressed down then the event is over. GetMouseUp() fires once when the button is released. However, GetMouseButton() should fire constantly during the down event and stops when released.