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"

AnswerHub Maintenance

Background maintenance is scheduled to occur between 9 - 11am EDT on Tuesday, May 21. Site operation may be slower than normal during this time and a brief interruption in operation may be observed

How do I attach expose a tooltip to a basic variable in code c++

Title said it all.

I want a tooltip to appear in the editor when hovering over it with a mouse. The variable to set is declared in code.

Product Version: Not Selected
more ▼

asked Nov 14 '14 at 02:48 PM in C++ Programming

avatar image

23 9 10 13

avatar image Stollie69 Feb 15 '19 at 07:54 AM

Tried out both of the suggested solutions in 4.21.2 on two different variables for anyone else who lands here - either works :)

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

2 answers: sort voted first


Creating variables in C++ for use in BP / Editor



more ▼

answered Nov 14 '14 at 04:52 PM

avatar image

10.6k 446 343 1085

avatar image TinyTeaTree Nov 14 '14 at 05:37 PM

Cool, correct answer. I searched over all google and couldn't find it I hope this question pops up to peoples searches

btw If you could add to your answer that ..

/** What is the Player's current musical skill level? */ UPROPERTY(EditAnywhere, BlueprintReadWrite, Category=PlayerMusicSkill) int32 MusicSkillLevel;

it is the commets that become tooltips that would be great and

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

This should work:

 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category=PlayerMusicSkill, meta = (ToolTip = "What is the Player's current musical skill level?"))
 int32 MusicSkillLevel;
more ▼

answered Oct 08 '15 at 02:34 PM

avatar image

36 3 5 9

(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