Code: Select all
screen drag:
zorder 50
draggroup:
drag:
drag_name "tree"
draggable True
xpos -60 ypos 10
add "drop.png"
label start:
scene b
call screen drag
Like this:
The tree leaves are "outside" of the screen limit, cause I used the "xpos -60".
The problem is that after I move the tree for the first time, I can only move it inside the screen limits.
Is there a way I can can create a "limit outside the screen" to where it can be dragged?
Like, establish something inside of a "(0, 0, 0, 0)". Each number would be the drag limit of right/left/top/bottom corner.
Thanks. Happy holidays everyone!!!