To be able to help you, you must give more explanations on :
- what your code is supposed to do
- what kind of objects imgRight and imgMargin are
- what value does X1 represent
- what is this line .Move imgRight.Left - X1 + X2
supposed to do
If imgRight and imgMargin are Images you must know that the MouseDown, MouseMove and MouseUp events are not directly available in B4PPC, you will need the Door library to get them.
Best regards.
|