So I want to implement some kind of stun-like mechanic into a game I am working on, but I'm having trouble of ways to handle it. First off I don't want to completely freeze the player. I want them to be able to at least look around instead of their screen constantly twitching because they wish to move the camera. I only want them to be stuck on that position, but to at least look around, so just cancelling PlayerMoveEvent doesn't work. So I tried this: Code: if(stunLock) event.getPlayer().teleport(new Location(event.getPlayer().getWorld(), event.getFrom().getX(), event.getFrom().getY(), event.getFrom().getZ())); but that doesn't work, it does the same thing as just cancelling the event, the player is unable to look around at all. So how can I go about this? Making the player stay stuck in the same position, but be able to look around freely? Also, a way to make gravity still have effect, so if the player is in mid air when the stun happens, they still fall down to the ground (but be unable to move on the X and Z of course). Any help would be appreciated.