Can anyone please write code for a node with a function which if the character collides with an an object the same color as itself it should do one thing, and if it collides with an object of a different color it should do something else?