Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Bug Disable Raycast Target for multiline input field

Discussion in 'UGUI & TextMesh Pro' started by ETGgames, Oct 24, 2023.

  1. ETGgames


    Jul 10, 2015
    I'm trying to disable raycast target for a multiline input field that is readonly but interactable.

    It's in the content of a scroll rect, and when the mouse pointer is hovering over the textmeshpro input field, the scroll rect doesn't scroll.

    I've tried disabling all raycast target options for everything, the image, the text, the placeholder, but It still blocks.

    I can't use a normal Textmeshpro UGUI component because i want the text to be selectable.