x

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"

Changing button values

Hey guys I'm pretty new to UE4, and i don't get something. How can I acces button values I mean Position, offset etc. Is it possible? If not, can i change button position (after being clicked) without using vertical box?

Product Version: UE 4.10
Tags:
more ▼

asked Feb 04 '16 at 08:37 PM in Blueprint Scripting

avatar image

HardnerPL
3 1 2

avatar image ViceVersa Feb 04 '16 at 08:48 PM

theres not any way that i know of to find a buttons location, I usually always use vertical or horizontal boxes for button layout. If your trying to just show/hide them though, the widget switcher is what you seek.

avatar image HardnerPL Feb 04 '16 at 09:02 PM

I want something like a card after being clicked do SOMETHING and it moves SMOWHERE. However how do this Vertical box works? Do it let's you move it in this way or what? :)

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Hello HardnerPL,

One common way to do this would be to drag off of the button reference and use "Slot as Canvas Slot". From there you would use Get/Set position. I hope that this information helps.

Example:

alt text

Note: This specific example only works if the button is in a canvas panel

Make it a great day

more ▼

answered Feb 04 '16 at 09:05 PM

avatar image

Rudy Q ♦♦ STAFF
47.5k 545 132 522

avatar image HardnerPL Feb 04 '16 at 09:47 PM

Well it worked, thank you VERY much :D (it made a great day, night in my country ^^)

(comments are locked)
10|2000 characters needed characters left
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