Is there any way I can make the item invisible Iam holding in my hand? Because I can vanish myself but others can still see the item in my hand.
But I want to walk as a normal player and I want to use my inventory as a normal player. Iam using $player->setInvisible(true); by the way
Take a look at this function in player https://github.com/pmmp/PocketMine-MP/blob/stable/src/pocketmine/Player.php#L562