How to access sensors of 2 objects in 1 script?

Hi, got a question:
Let’s say I have 2 cubes. Each one of them has a logic brick with a collision sensor. Now how can I access both sensors in 1 script?
Basicly only via their controllers. However a single script only delivers 1 controller via cont =GameLogic.getCurrentController()), therefore I’m stuck somehow with the second :confused:

How can I access all controllers from all objects in 1 single script now?

You can select one cube, then shift-select the other, and then connect sensors from both to a single controller on one of them.

Thanks, it works :slight_smile: