2 Collision objects in one Game Object help (SOLVED)

Hello again guys. I have a situation. I have a auto Door that should open when the player is near to it but I have the door collision to prevent the player from passing plus I have a trigger on the door that has a larger scale around the door.
Not that the door slides upward using the go.animate function. How do I reference the trigger directly “trigger_response” isnt working for me because im assuming its not including the trigger.
Note that I have the player set to react to the trigger mask in the mask text field and viceversa.
The in the on_message code:

function on_message(self, message_id, message, sender)
       if message_id == hash("trigger_response") and message.enter then
                if message.own_group == hash("door_sensor") and message.other_group == hash(player) then
   door_open(self)
            end
     end
end

had a typo. Solved. I had door_sensor in the player mask spelt as doorsensor. lol

3 Likes