Changin options of a plugin on hover

Changin options of a plugin on hover

I would like to change the options offsetX and offsetY dynamically when mouse moves over an image with the class "item-img". I've been searching for hours. I already tried things with Hover() , but I can't find any solution. It would be very nice if someone could help me. Thank you!


<script>
$(function() {
$(".item-img").imageShadow({
"blur" : 5,
"blurMethod" : "manual",
"offsetX" : 5,
"offsetY" : 0
})
});
</script>