Assuming you're using plain signal ports, you can use the event member function to check, whether a specific port has been triggered in the current delta cycle: