How can I access PlayerController0 ?

How can I access PlayerController0, and change its Show cursor mouse to true (Mouse Interface). It is accessible only when the play mode is on.
It doesn’t get saved. since it’s in play mode. It disappears once I exit the play mode.

I’m new to unreal. Can someone help. Thanks.

Hello Vaibs, Welcome to the Forums.

Not sure about your mention of Play mode. (when you exit play mode, wouldn’t your regular mouse cursor reappear?)

Try running this logic:

(It can be ran anywhere, but in screenshot I put it inside of the Level Blueprint)

Hello Astrotronic,

Play mode is nothing but the Play button(is to run the game).

I have made a ChatBotWidgets for the MetaHuman on the Event Graph.

I have tried to Set show mouse cursor on the Event Graph, But I couldn’t find it.

Thanks for the replay.

Thanks for the extra info @leegalstreet

You’ll want to drag off the blue ‘Return Value’ Circle to see ‘Set Show Mouse Cursor’ node. (This is because you’re setting a value in the Context of a Player Controller (The value is not global))

I found a way on how to implement your previous answer.

At first I added Get Player Controller. And then I got the option to Set Show Mouse Cursor.

And it worked. Thanks.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.