Maybe, that is not the best approach, but you can just use static FVector variable in cpp (static inside a file) and update x and y according to X and Y axis. After every update you can simply check their product with SMALL_NUMBER for example and broadcast delegate if condition is true.