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"

Blueprint - How to Get Visibility of Actor?

I'm looping through Actors of Class in a Blueprint, and want to test for the Visibility of them, to then only do something with it if it's visible.

How do I Get the visibility of an Actor in the Bluepirnt Event Graph?

Product Version: Not Selected
Tags:
more ▼

asked Mar 30 '14 at 03:11 PM in Blueprint Scripting

avatar image

mikepurvis
2.5k 98 64 259

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

2 answers: sort voted first

Hey mikepurvis,

You can use the Get Hidden function to get the boolean value of Actor Hidden In Game and Set Actor Hidden in Game to change this boolean value, as needed.

-Steve

more ▼

answered Mar 30 '14 at 05:32 PM

avatar image

Steve Allison STAFF
4.2k 123 58 208

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

there are several ways, one one them - to use "is visible" node connected to "Branch" node. "is visible" check visible of object, "Branch" give "true false" statement. alt text

bp.jpg (109.9 kB)
more ▼

answered Mar 30 '14 at 06:11 PM

avatar image

CTPEJIOK22
6 1 3

avatar image Steve Allison STAFF Mar 30 '14 at 06:18 PM

You can use Is Visible, but that can only be called on SceneComponents (so the individual components of a placed Actor). The variable and function I listed in my Answer will work for the Actor as a whole.

avatar image CTPEJIOK22 Mar 30 '14 at 06:25 PM

maybe i misunderstood the question :)

(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