How do i add a condition to an if Block

I am trying to make a fnaf camera that is like the one in fnaf sim and I need to add a condition for the if block. I tried using Assert equal (Int) blocks, but I couldn’t find a target for it so help please.

The node you are looking for is called a Branch. It takes a Boolean (true/false) condition as an input and the flow is shunted out either the True or False outputs depending on the value.