[06 Nov 2009] Brush/Layer
Posted: Sat Jun 13, 2020 5:32 pm
Note: This is an archived post that was originally sent to the Hollywood mailing list on Fri, 06 Nov 2009 11:05:32 +0200
Hello,
I'm trying to move a brush but can't make it
I have a brush in Designer called "arrow1". I put on his code the following
Q1: Should I use MoveLayer() or MoveBrush()? What's the difference?
Doing so I thought the brush would move slowly but it doesn't. It just appears immediately at position x+200,y+200 I tried to place these lines on the code dialog and even on an event but both failed.
Q2: What's wrong?
Thanks
Hello,
I'm trying to move a brush but can't make it
I have a brush in Designer called "arrow1". I put on his code the following
Code: Select all
x=GetAttribute(#LAYER, %!arrow1, #ATTRXPOS)
Y=GetAttribute(#LAYER, %!arrow1, #ATTRYPOS)
MoveLayer(%!arrow1,x,y,x+200,y+200, { Speed = #SLOWSPEED })
Doing so I thought the brush would move slowly but it doesn't. It just appears immediately at position x+200,y+200 I tried to place these lines on the code dialog and even on an event but both failed.
Q2: What's wrong?
Thanks