Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How can I make an actor move when a UI button is clicked?

I have a simple button on screen (Widget Blueprint) and I want to make a box (Actor Blueprint) move when the button is clicked.alt text

Currently I've set the movement up to use the keyboard but I want to change this to use the UI instead. alt textalt textalt textalt text I've watched a few tutorials on using event dispatchers and binding to these events but I'm still failing to grasp how to get set this up correctly. Anyone able to help?

Many thanks,


Product Version: UE 4.12
more ▼

asked Jul 29 '16 at 09:31 AM in Blueprint Scripting

avatar image

3 2 2

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

You have not bound the event so the widget cant call it.

Have a look.

more ▼

answered Jul 29 '16 at 09:44 AM

avatar image

2.7k 107 35 180

avatar image RobSteptoe Jul 29 '16 at 11:43 AM

Thanks for this info/video. I'm still struggling to bind it... I noticed he is getting the Player Character. However I'm not using a character just and actor. Could this be my issue? Many thanks.

alt text

binding.jpg (70.3 kB)
avatar image NoobsDeSroobs Jul 29 '16 at 12:03 PM

Make the dispatcher in the widget actor. Then you have to get a reference to that widget actor and from that actor node(after cast) you bind your dispatcher to your event.

avatar image RobSteptoe Jul 31 '16 at 10:18 AM

Hi, many thanks. For the help. I still could not get it to work but I've managed to do it by using Event Tick, to check if the button has been pressed instead of the Cast way. Seems to work... alt text

event_tick.jpg (194.7 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question