WickTools (v1)

WickTools


Version 1.0

Hi! I made a little tool that helps with some Wick tasks!

// Moving a object
this.x = 10;
this.y = 10;
// vs.
this.xy(10, 10);

Download it here

Installation

At first, you’ll get a WickTools.zip file. Rename it into WickTools.wickobj and drag it into your Wick Editor.

Example .HTML

Example .WICK

Docs


Clip

this.xy(X, Y)

Moves the X and Y position in a single line, great time-saver!


this.xyp(X, Y)

Same as this.xy, but adds instead of setting.


this.children()

Shortcut for this._children, just so it doesn’t feel illegal!


this.removeChildren

Removes all children of the Clip. Useful for certain things.


this.metaclone()

Shortcut for this.clone().breakApart().

Array

[].toWickClip(identifier?)

Turns a Array of Wick.Base (Clips, Paths, Buttons, etc.) into a single Wick.Clip

2 Likes

my thing says if i rename it it might not work

Yea, yeah, i received that message to make it a .zip file, it’s just a zip.

oh okay (ten little people sleeping in the bed. on said roll over, roll over. so they all rolled over and they all fell down.)