what code is to get the xyz position? example I have code particles and I want to spawn it in x100 y70. y123. also with world name
itll give u an error if its not array $level must be an array or Argument 2, use\pocketmine... must be of the type array, object given
It is not part of the Position itself. Please, again, learn PHP - a variable is something that holds a value, or especially a reference to an immutable object when it is an object variable. It is not like you write some code and the PHP parser would magically replace the variable with what you typed behind the =.