Tv LayerInsertImage

From TVPaintWiki
Jump to: navigation, search

<<<George<<<George Command Reference<<<George Commands : Layers


tv_LayerInsertImage empty

Inserts a new image after the current image in the current layer. This new image becomes the current image. The empty argument may be equal to 0 or 1. If the value is 0, the current image is duplicated in the new image. If the value is 1, the new image is empty.


11.0.0

New parameters have been added in the tv_layerinsertimage command :

tv_layerinsertimage ["count" X] ["direction" before|after]

// count: number of images to add // direction: images to add before or after the current one // return < 0 if error occurs // return the position of the previous current image after the addition of the new image