TVpaint george script: New top layer with name

Here’s a small script to add a new layer and ask you to name it at the same time:

If you want the new layer added at the current position in the layer stack just delete the line that says tv_LayerMove 0


tv_ReqString "New Layer Name [Top]"
Parse Result LayerName

If (Cmp(LayerName,"Cancel") == 0)
tv_LayerCreate LayerName
tv_LayerMove 0
END

You must be logged in to post a comment.