A trick or deft move that leads the observer to be unaware of what has happened.
This is used in both the literal sense – when someone is demonstrating a magic trick using sleight of hand – and also in a figurative sense – when someone has been devious or misleading in their actions.