Technically it would be a bit more efficient. In real use, comparing two numerical values every tick is a trivial process, even on a mobile.
The else logic strikes me as being possibly confusing, but that may just be me. Use whichever approach you find easier to understand.
The thing that can kill here is the 'is visible' command. If you plan on having a lot of these objects present in the layout (>100), you should make sure that this logic only runs when triggered, instead of running as a 'dumb test' every tick.
If there will only be a handful of these objects in the game at any one time, I wouldn't worry about it.