Home / Lua API Manual / events / mouse-over-image-changed
< intermediate-export-image
view_changed >

# mouse-over-image-changed

`event`

This event is triggered whenever the image under the mouse changes

# 🔗mouse-over-image-changed.callback

    function(
      event : string,
      image : types.dt_lua_image_t
    )

- event - string - The name of the event that triggered the callback.
- image - types.dt_lua_image_t - The new image under the mouse, can be nil if there is no image under the mouse

# 🔗mouse-over-image-changed.extra registration parameters

This event has no extra registration parameters.

< intermediate-export-image
view_changed >