Mcpe teleportation commands?

Sk
1

I want to make a portal engine in minecraft Bedrock Edition I have all the commands that I need in my head

And I wanted to ask if there's a command in mcpe to NOT teleport certain entities

le

For example, if you want to make a command block only player tpn should do that (X means any coordinate):

/ tp @p [type = player] X X X

Have fun!