# IScriptEntity.setLeashHolder [← IScriptEntity](index.md) · [← Master](../../wiki.md) setLeashHolder(IScriptEntity leashHolder) boolean Sets the leash holder of this entity. void setLeggings(IScriptItemStack itemStack) Set the entity's leggings. void setMainItem(IScriptItemStack stack) Set item held in main hand. void setMaxHp(float hp) Set entity's maximum health points. void setModifier(java.lang.String modifierName, double value) Set entity's modifier to a certain value. boolean setMorph(AbstractMorph morph) Set entity's morph (works with player and NPCs). void setMotion(double x, double y, double z) Set entity's motion. void setName(java.lang.String name) Set entity name. void setOffItem(IScriptItemStack stack) Set item held in off hand. void setPosition(double x, double y, double z) Set entity's position (teleport).