+1
To nie jest błąd

Erase not working as expected

Charmaine Anderson 11 lat temu Ostatnio zmodyfikowane przez Alin Alexandru Matei 11 lat temu 0

Not sure if this is a bug, but I want to create an eraser element that user could select to erase part of their drawing.  When I assign On Drag >Drawing > Erase and view in Interact mode, when I go from drawing with another element and then select  the eraser element, and drag it, it erases itself, and not the drawing I wanted to erase.  For example, I want to have several colored crayon elements the user can choose to draw with and also an eraser they can use to erase what they don't want on their picture.  Thanks.

Odpowiedź

Odpowiedź
To nie jest błąd

At this moment it is not possible to erase an element while Dragging another one( like the eraser). What I suggest is that two have two erase elements. For the first element the behaviors:

SetEraseMode to On,

TapHide self

TapShow the other erase element.

For the other erase element have:

SetEraseMode to Off

TapHide Self

TapShow the other erase element.


Also if you want an example you can check page nine of A Day with the Butterflies example book app.

Let us know if you are still having problems.

Odpowiedź
To nie jest błąd

At this moment it is not possible to erase an element while Dragging another one( like the eraser). What I suggest is that two have two erase elements. For the first element the behaviors:

SetEraseMode to On,

TapHide self

TapShow the other erase element.

For the other erase element have:

SetEraseMode to Off

TapHide Self

TapShow the other erase element.


Also if you want an example you can check page nine of A Day with the Butterflies example book app.

Let us know if you are still having problems.