m
→Arguments
m (→Arguments) |
|||
| Line 7: | Line 7: | ||
=== Arguments === | === Arguments === | ||
; point : The point on your object to use for attaching the obj (see [[API Positions]]) (i.e. bind the left side of your frame) | ; point : The point on your object to use for attaching the obj (see [[API Positions]]) (i.e. bind the left side of your frame) | ||
; frame : Name of, or reference to, a frame to attach obj to; or nil to anchor relative to obj's parent (if no parent exists, anchor | ; frame : Name of, or reference to, a frame to attach obj to; or nil to anchor relative to obj's parent (if no parent exists, anchor relative to the whole screen). | ||
; relativePoint : The relative point of ''frame'' to attach ''obj'' to (see [[API Positions]]); if not specified, defaults to the value of ''point'' when not specified. | ; relativePoint : The relative point of ''frame'' to attach ''obj'' to (see [[API Positions]]); if not specified, defaults to the value of ''point'' when not specified. | ||
; x : x-offset (negative values will move ''obj'' left, positive values will move ''obj'' right), defaults to 0 if not specified. | ; x : x-offset (negative values will move ''obj'' left, positive values will move ''obj'' right), defaults to 0 if not specified. | ||
; y : y-offset (negative values will move ''obj'' down, positive values will move ''obj'' up), defaults to 0 if not specified. | ; y : y-offset (negative values will move ''obj'' down, positive values will move ''obj'' up), defaults to 0 if not specified. | ||
== Examples == | == Examples == | ||