
I'm having difficulty using the SGDK collision

From what I read in the documentation and I understand it's a Union, but I do not quite understand how to apply it in the code.
Can anybody help me ?
I just want to understand how 2 sprites can collide using this sgdk feature
Thanks in advance