# ScriptBox — giriş [← ScriptBox](index.md) · [← Master](../../wiki.md) mchorse.mappet.api.scripts.user.data Class ScriptBox java.lang.Object mchorse.mappet.api.scripts.user.data.ScriptBox public class ScriptBox extends java.lang.Object Script box represents a box in the space function main(c) { var subject = c.getSubject(); var subjectPosition = subject.getPosition(); var box = mappet.box(-10, 4, -10, 10, 6, 10); if (box.contains(subjectPosition)){ c.send("the player in in the box") } } Field Summary Fields Modifier and Type Field and Description double maxX double maxY double maxZ double minX double minY double minZ Constructor Summary Constructors Constructor and Description