How to door? (AND logic gate troubles) -SOLVED-

So Im tinkering a bit with Flowlab’s mechanics and wanted to make a door that opens when you stand near it and push Space.
I tried using an AND logic gate for this, with a trigger to proximity and another to key press, so when both conditions are fulfilled, the door would open. Something like this:

However, it doesn’t seem to work. I think I have a workaround to solve this, but I wanted to know if I was making something wrong or if there is a bug in the AND gate

Thats because the keyboard and proximity block have to be active at the same time

Did you turn off only trigger once in the proximity?

THERE YOU GO!
I was breaking my head over it, but disabling the trigger made it work. Thank you!

you’re welcome