Auto-translated
No, that's not what I meant. Since the target is unknown, you can't select it during your turn to attack.
If an invisible unit is at a distance:
Move closer + reveal ✔️
Move closer + reveal + attack ❌
If an invisible unit is on an adjacent tile at the beginning of your turn, the reveal happens before your turn begins.