"if <block> runs then <script>"

does this block exist?? or if not how do i make it exist

what does this mean? how would the block not run? you mean if there is an error? because if so, that exists in the catch errors library, and I made a block to test if there is an error here.

no for blocks like "if on edge then bounce" if that block does something then itll run some other thing

just do
[scratchblocks]
if <touching [edge v]?> :: control
[/scratchblocks]

alternatively, you could use this block I made:
untitled script pic (21)

I was overthinking too much ;D