# IScriptWorld.testForBlock [← IScriptWorld](index.md) · [← Master](../../wiki.md) Parça 15/16 · [önceki](testForBlock-14.md) · [sonraki](testForBlock-16.md) double x, double y, double z, float yaw, float pitch, int range) Display a world morph to all players at given point with rotation some blocks away in this world. function main(c) { var s = c.getSubject(); var morph = mappet.createMorph('{Name:"item"}'); var pos = s.getPosition(); var yaw = s.getYaw() var pitch = s.getPitch() c.getWorld().displayMorph(morph, 100, pos.x, pos.y + s.getHeight() + 0.5, pos.z, yaw, pitch, 90); } Parameters: morph - Morph that will be displayed (if null, then it won't send anything). expiration - For how many ticks will this displayed morph exist on the client side. yaw - Horizontal rotation in degrees. pitch - Vertical rotation in degrees. range - How many blocks far away will this send to players around given point. displayMorph void displayMorph(AbstractMorph morph, int expiration, double x, double y, double z, float yaw, float pitch, int range, IScriptPlayer player) Display a world morph to all players at given point with rotation some blocks away in this world only to given player. function main(c) { var s = c.getSubject(); var morph = mappet.createMorph('{Name:"item"}'); var pos = s.getPosition(); var yaw = s.getYaw() var pitch = s.getPitch() c.getWorld().displayMorph(morph, 100, pos.x, pos.y + s.getHeight() + 0.5, pos.z, yaw, pitch, 90, s); } Parameters: morph - Morph that will be displayed (if null, then it won't send anything). expiration - For how many ticks will this displayed morph exist on the client side. yaw - Horizontal rotation in degrees. pitch - Vertical rotation in degrees. range - How many blocks far away will this send to players around given point.