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.
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.
You must be logged in to post a comment.