Trigger condition...

How can I have an if statement where one of the conditions is that the objects trigger must be touching another collider? I want to make a rhythm game type effect (where as an object scrolls, the player must hit a button while the object is in a certain trigger area). Thanks

One way would be to set a flag in OnCollisionEnter(), and then clear it in OnCollisionExit(). Then, you can check the value of that flag in your conditional.