Like in this picture:
Thanks much
Select both objects (Shift+right click on objects). Then in the logic panel you can do this logic brick setup between objects.