Mouse.TargetFilter cannot be a Folder object

Pretty straightforward. I get the error “bad cast” upon attempting to set it.

On a side note, “bad cast” doesn’t really give me a line number so that’s troubling.