Touch on 2D gameobject: should i use a GUI button?

I’m making a test game for android where you have to quickly touch the red squares on the screen. Since these are actually part of the game and not part of a GUI, should i write a script for it or does Unity provide a tool for this?

You can use Unity’s new UI system. If not sure how it works, here is the documentation: Learn game development w/ Unity | Courses & tutorials in game design, VR, AR, & Real-time 3D | Unity Learn