May 17, 2023
Drag a handle
Comments
(2)
May 17, 2023
Drag a handle
Followers: 0 people
(2)

Hello everyone, I’m new here and learning how to use Adobe Captivate so my knowledge of it is basic(for now). I am trying to create a simulation to drag a handle but I am not sure how to approach it.

I need to find a way the user can drag the brightness handle in a straight path. Does anyone here can help me with this? I appreciate your help.

2 Comments
2023-05-22 19:41:21
2023-05-22 19:41:21

Test

 

Like
()
2023-05-22 19:35:58
2023-05-22 19:35:58

I would recommend using the Greensock libraries for this one.

Implementation is not for the faint of heart but it would allow you to drag along the X-axis with just a few lines of code.

The below JavaScript – along with adding the libraries to your file will create the effect demonstrated. See attached file

gsap.to(“#handle”, {
autoAlpha: 0
});

Draggable.create(“#handlec”, {
type: “x”,
bounds: {minX: -180, maxX: 180}
});

Please note that my little circle is named handle.

 

Attachment

Like
()
Add Comment